Class: PayPal::SDK::ButtonManager::DataTypes::DoAuthorizationRequestType

Inherits:
AbstractRequestType show all
Defined in:
lib/paypal-sdk/button_manager/data_types.rb

Overview

The value of the order’s transaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum

Class Method Summary collapse

Class Method Details

.load_membersObject



4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 4600

def self.load_members
  # The value of the order’s transaction identification number returned by a PayPal product. Required Character length and limits: 19 single-byte characters maximum
  object_of :TransactionID, String, :namespace => :ns, :required => true
  # Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. Optional
  object_of :TransactionEntity, TransactionEntityType, :namespace => :ns
  # Amount to authorize. Required Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
  object_of :Amount, BasicAmountType, :namespace => :ns, :required => true
  # Address the order will be shipped to. Optional 
  object_of :ShipToAddress, AddressType, :namespace => :ebl
  # Information about the individual purchased items 
  array_of :PaymentDetailsItem, PaymentDetailsItemType, :namespace => :ebl
  # Sum of cost of all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,). 
  object_of :ItemTotal, BasicAmountType, :namespace => :ns
  # Total shipping costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,). 
  object_of :ShippingTotal, BasicAmountType, :namespace => :ns
  # Total handling costs for this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,). 
  object_of :HandlingTotal, BasicAmountType, :namespace => :ns
  # Sum of tax for all items in this order. You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,). 
  object_of :TaxTotal, BasicAmountType, :namespace => :ns
  # Total shipping insurance costs for this order. Optional 
  object_of :InsuranceTotal, BasicAmountType, :namespace => :ns
  # Shipping discount for this order, specified as a negative number. Optional 
  object_of :ShippingDiscount, BasicAmountType, :namespace => :ns
  # Description of items the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters 
  object_of :OrderDescription, String, :namespace => :ns
  # A free-form field for your own use. Optional Character length and limitations: 256 single-byte alphanumeric characters 
  object_of :Custom, String, :namespace => :ns
  # Unique id for each API request to prevent duplicate payments. Optional Character length and limits: 38 single-byte characters maximum. 
  object_of :MsgSubID, String, :namespace => :ns
  # IP Address of the buyer 
  object_of :IPAddress, String, :namespace => :ns
end