Class: PayPal::SDK::Merchant::DataTypes::DoExpressCheckoutPaymentRequestDetailsType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/merchant/data_types.rb

Overview

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ DoExpressCheckoutPaymentRequestDetailsType

Returns a new instance of DoExpressCheckoutPaymentRequestDetailsType.



1251
1252
1253
1254
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1251

def initialize(options={})
  super
  self.ButtonSource ||= "PayPal_SDK"
end

Class Method Details

.load_membersObject



1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
# 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