Class: PayPal::SDK::Merchant::DataTypes::CreateMobilePaymentRequestDetailsType

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

Overview

Type of the payment Required

Class Method Summary collapse

Class Method Details

.load_membersObject



1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1375

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