Class: PayPal::SDK::ButtonManager::DataTypes::PaymentDetailsItemType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::ButtonManager::DataTypes::PaymentDetailsItemType
- 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_members ⇒ Object
1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1867 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 |