Class: PayPal::SDK::Merchant::DataTypes::DoAuthorizationRequestType
- Inherits:
-
AbstractRequestType
- Object
- Core::API::DataTypes::Base
- DataType
- AbstractRequestType
- PayPal::SDK::Merchant::DataTypes::DoAuthorizationRequestType
- Defined in:
- lib/paypal-sdk/merchant/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_members ⇒ Object
4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 4701 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 # A flag indicating that this transaction is a Ship to Store transaction. Optional object_of :ShipToStore, String, :namespace => :ns end |