class PayPal::SDK::Merchant::DataTypes::DoExpressCheckoutPaymentRequestDetailsType

How you want to obtain payment. Required Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. IMPORTANT: You cannot set PaymentAction to Sale on SetExpressCheckoutRequest and then change PaymentAction to Authorization on the final Express Checkout API, DoExpressCheckoutPaymentRequest. Character length and limit: Up to 13 single-byte alphabetic characters

Public Class Methods

load_members() click to toggle source
# File lib/paypal-sdk/merchant/data_types.rb, line 1256
def self.load_members
  # How you want to obtain payment. Required Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. IMPORTANT: You cannot set PaymentAction to Sale on SetExpressCheckoutRequest and then change PaymentAction to Authorization on the final Express Checkout API, DoExpressCheckoutPaymentRequest. Character length and limit: Up to 13 single-byte alphabetic characters
  object_of :PaymentAction, PaymentActionCodeType, :namespace => :ebl
  # The timestamped token value that was returned by SetExpressCheckoutResponse and passed on GetExpressCheckoutDetailsRequest. Required Character length and limitations: 20 single-byte characters
  object_of :Token, String, :namespace => :ebl
  # Encrypted PayPal customer account identification number as returned by GetExpressCheckoutDetailsResponse. Required Character length and limitations: 127 single-byte characters.
  object_of :PayerID, String, :namespace => :ebl
  # URL on Merchant site pertaining to this invoice. Optional
  object_of :OrderURL, String, :namespace => :ebl
  # Unique id for each API request to prevent duplicate payments on merchant side. Passed directly back to merchant in response. Optional Character length and limits: 38 single-byte characters maximum.
  object_of :MsgSubID, String, :namespace => :ebl
  # Information about the payment Required
  array_of :PaymentDetails, PaymentDetailsType, :namespace => :ebl
  # Flag to indicate if previously set promoCode shall be overriden. Value 1 indicates overriding.
  object_of :PromoOverrideFlag, String, :namespace => :ebl
  # Promotional financing code for item. Overrides any previous PromoCode setting.
  object_of :PromoCode, String, :namespace => :ebl
  # Contains data for enhanced data like Airline Itinerary Data.
  object_of :EnhancedData, EnhancedDataType, :namespace => :ebl
  # Soft Descriptor supported for Sale and Auth in DEC only. For Order this will be ignored.
  object_of :SoftDescriptor, String, :namespace => :ebl
  # Information about the user selected options.
  object_of :UserSelectedOptions, UserSelectedOptionType, :namespace => :ebl
  # Information about the Gift message.
  object_of :GiftMessage, String, :namespace => :ebl
  # Information about the Gift receipt enable.
  object_of :GiftReceiptEnable, String, :namespace => :ebl
  # Information about the Gift Wrap name.
  object_of :GiftWrapName, String, :namespace => :ebl
  # Information about the Gift Wrap amount.
  object_of :GiftWrapAmount, BasicAmountType, :namespace => :ebl
  # Information about the Buyer marketing email.
  object_of :BuyerMarketingEmail, String, :namespace => :ebl
  # Information about the survey question.
  object_of :SurveyQuestion, String, :namespace => :ebl
  # Information about the survey choice selected by the user.
  array_of :SurveyChoiceSelected, String, :namespace => :ebl
  # An identification code for use by third-party applications to identify transactions. Optional Character length and limitations: 32 single-byte alphanumeric characters
  object_of :ButtonSource, String, :namespace => :ebl
  # Merchant specified flag which indicates whether to create billing agreement as part of DoEC or not. Optional
  object_of :SkipBACreation, Boolean, :namespace => :ebl
  # Merchant specified flag which indicates to use payment details from session if available. Optional
  object_of :UseSessionPaymentDetails, String, :namespace => :ebl
  # Optional element that defines relationship between buckets
  array_of :CoupledBuckets, CoupledBucketsType, :namespace => :ebl
  # Optional element for the passing client id
  object_of :ClientID, String, :namespace => :ebl
  # Optional element for the passing product lines
  object_of :ProductLine, String, :namespace => :ebl
end
new(options={}) click to toggle source
Calls superclass method
# File lib/paypal-sdk/merchant/data_types.rb, line 1251
def initialize(options={})
  super
  self.ButtonSource ||= "PayPal_SDK"
end