Class: PayPal::SDK::ButtonManagerRails::DataTypes::SetMobileCheckoutRequestDetailsType

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

Overview

The phone number of the buyer’s mobile device, if available. Optional

Class Method Summary collapse

Class Method Details

.load_membersObject



2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 2550

def self.load_members
  # The phone number of the buyer's mobile device, if available. Optional 
  object_of :BuyerPhone, PhoneNumberType, :namespace => :ebl
  # Cost of this item before tax and shipping.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Required
  object_of :ItemAmount, BasicAmountType, :namespace => :ebl, :required => true
  # Tax amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional
  object_of :Tax, BasicAmountType, :namespace => :ebl
  # Shipping amount for this item.You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional
  object_of :Shipping, BasicAmountType, :namespace => :ebl
  # Description of the item that the customer is purchasing. Required Character length and limitations: 127 single-byte alphanumeric characters
  object_of :ItemName, String, :namespace => :ebl, :required => true
  # Reference number of the item that the customer is purchasing. Optional Character length and limitations: 127 single-byte alphanumeric characters
  object_of :ItemNumber, String, :namespace => :ebl
  # A free-form field for your own use, such as a tracking number or other value you want returned to you in IPN. Optional Character length and limitations: 256 single-byte alphanumeric characters
  object_of :Custom, String, :namespace => :ebl
  # Your own unique invoice or tracking number. Optional Character length and limitations: 127 single-byte alphanumeric characters
  object_of :InvoiceID, String, :namespace => :ebl
  # URL to which the customer's browser is returned after choosing to pay with PayPal. PayPal recommends that the value of ReturnURL be the final review page on which the customer confirms the order and payment. Required Character length and limitations: no limit. 
  object_of :ReturnURL, String, :namespace => :ebl, :required => true
  # URL to which the customer is returned if he does not approve the use of PayPal to pay you. PayPal recommends that the value of CancelURL be the original page on which the customer chose to pay with PayPal. Optional Character length and limitations: no limit
  object_of :CancelURL, String, :namespace => :ebl
  # The value 1 indicates that you require that the customer's shipping address on file with PayPal be a confirmed address. Setting this element overrides the setting you have specified in your Merchant Account Profile. Optional
  object_of :AddressDisplayOptions, Integer, :namespace => :ebl
  # The value 1 indicates that you require that the customer specifies a contact phone for the transactxion. Default is 0 / none required. Optional
  object_of :SharePhone, Integer, :namespace => :ebl
  # Customer's shipping address. Optional
  object_of :ShipToAddress, AddressType, :namespace => :ebl
  # Email address of the buyer as entered during checkout. PayPal uses this value to pre-fill the login portion of the PayPal login page. Optional Character length and limit: 127 single-byte alphanumeric characters 
  object_of :BuyerEmail, String, :namespace => :ebl
end