class PayPal::SDK::Merchant::DataTypes::PaymentDetailsItemType
PaymentDetailsItemType
Information about a Payment Item.
Public Class Methods
load_members()
click to toggle source
# 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