Class: PayPal::SDK::ButtonManager::DataTypes::CreateMobilePaymentRequestDetailsType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::ButtonManager::DataTypes::CreateMobilePaymentRequestDetailsType
- Defined in:
- lib/paypal-sdk/button_manager/data_types.rb
Overview
Type of the payment Required
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 |
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1313 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 |