Class: PayPal::SDK::Merchant::DataTypes::SetMobileCheckoutRequestDetailsType

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



2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
# File 'lib/paypal-sdk/merchant/data_types.rb', line 2609

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