Class: PayPal::SDK::Merchant::DataTypes::PaymentDetailsItemType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Merchant::DataTypes::PaymentDetailsItemType
- Defined in:
- lib/paypal-sdk/merchant/data_types.rb
Overview
PaymentDetailsItemType Information about a Payment Item.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1951 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 |