Class: PayPal::SDK::ButtonManager::DataTypes::PaymentDetailsItemType

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

Overview

PaymentDetailsItemType Information about a Payment Item.

Class Method Summary collapse

Class Method Details

.load_membersObject



1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1895

def self.load_members
  # Item name. Optional Character length and limitations: 127 single-byte characters
  object_of :Name, String, :namespace => :ebl
  # Item number. Optional Character length and limitations: 127 single-byte characters
  object_of :Number, String, :namespace => :ebl
  # Item quantity. Optional Character length and limitations: Any positive integer
  object_of :Quantity, Integer, :namespace => :ebl
  # Item sales tax. Optional Character length and limitations: any valid currency amount; currency code is set the same as for OrderTotal.
  object_of :Tax, BasicAmountType, :namespace => :ebl
  # Cost of item You must set the currencyID attribute to one of the three-character currency codes for any of the supported PayPal currencies. Optional Limitations: Must not exceed $10,000 USD in any currency. No currency symbol. Decimal separator must be a period (.), and the thousands separator must be a comma (,).
  object_of :Amount, BasicAmountType, :namespace => :ebl
  # Ebay specific details. Optional 
  object_of :EbayItemPaymentDetailsItem, EbayItemPaymentDetailsItemType, :namespace => :ebl
  # Promotional financing code for item. Part of the Merchant Services Promotion Financing feature. 
  object_of :PromoCode, String, :namespace => :ebl
  object_of :ProductCategory, ProductCategoryType, :namespace => :ebl
  # Item description. Optional Character length and limitations: 127 single-byte characters 
  object_of :Description, String, :namespace => :ebl
  # Information about the Item weight. 
  object_of :ItemWeight, MeasureType, :namespace => :ebl
  # Information about the Item length. 
  object_of :ItemLength, MeasureType, :namespace => :ebl
  # Information about the Item width. 
  object_of :ItemWidth, MeasureType, :namespace => :ebl
  # Information about the Item height. 
  object_of :ItemHeight, MeasureType, :namespace => :ebl
  # URL for the item. Optional Character length and limitations: no limit. 
  object_of :ItemURL, String, :namespace => :ebl
  # Enhanced data for each item in the cart. Optional 
  object_of :EnhancedItemData, EnhancedItemDataType, :namespace => :ebl
  # Item category - physical or digital. Optional 
  object_of :ItemCategory, ItemCategoryType, :namespace => :ebl
end