Class: PayPal::SDK::ButtonManagerRails::DataTypes::CreateMobilePaymentRequestDetailsType

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

Overview

Type of the payment Required

Class Method Summary collapse

Class Method Details

.load_membersObject



1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 1336

def self.load_members
  # Type of the payment Required 
  object_of :PaymentType, MobilePaymentCodeType, :namespace => :ebl
  # How you want to obtain payment. Defaults to Sale. Optional Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. 
  object_of :PaymentAction, PaymentActionCodeType, :namespace => :ebl
  # Phone number of the user making the payment. Required 
  object_of :SenderPhone, PhoneNumberType, :namespace => :ebl
  # Type of recipient specified, i.e., phone number or email address Required 
  object_of :RecipientType, MobileRecipientCodeType, :namespace => :ebl
  # Email address of the recipient 
  object_of :RecipientEmail, String, :namespace => :ebl
  # Phone number of the recipipent Required 
  object_of :RecipientPhone, PhoneNumberType, :namespace => :ebl
  # Amount of item before tax and shipping 
  object_of :ItemAmount, BasicAmountType, :namespace => :ebl
  # The tax charged on the transactionTax Optional 
  object_of :Tax, BasicAmountType, :namespace => :ebl
  # Per-transaction shipping charge Optional 
  object_of :Shipping, BasicAmountType, :namespace => :ebl
  # Name of the item being ordered Optional Character length and limitations: 255 single-byte alphanumeric characters 
  object_of :ItemName, String, :namespace => :ebl
  # SKU of the item being ordered Optional Character length and limitations: 255 single-byte alphanumeric characters 
  object_of :ItemNumber, String, :namespace => :ebl
  # Memo entered by sender in PayPal Website Payments note field. Optional Character length and limitations: 255 single-byte alphanumeric characters 
  object_of :Note, String, :namespace => :ebl
  # Unique ID for the order. Required for non-P2P transactions Optional Character length and limitations: 255 single-byte alphanumeric characters 
  object_of :CustomID, String, :namespace => :ebl
  # Indicates whether the sender's phone number will be shared with recipient Optional 
  object_of :SharePhoneNumber, Integer, :namespace => :ebl
  # Indicates whether the sender's home address will be shared with recipient Optional 
  object_of :ShareHomeAddress, Integer, :namespace => :ebl
end