Class: PayPal::SDK::ButtonManager::DataTypes::DoExpressCheckoutPaymentRequestDetailsType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/button_manager/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.



1228
1229
1230
1231
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1228

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

Class Method Details

.load_membersObject



1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1233

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
  # 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
  # Optional element that defines relationship between buckets 
  array_of :CoupledBuckets, CoupledBucketsType, :namespace => :ebl
end