Class: PayPal::SDK::Merchant::DataTypes::InvoiceItemType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Merchant::DataTypes::InvoiceItemType
- Defined in:
- lib/paypal-sdk/merchant/data_types.rb
Overview
Describes an individual item for an invoice.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 3252 def self.load_members # a human readable item nameOptional Character length and limits: 127 single-byte characters object_of :Name, String, :namespace => :ebl # a human readable item descriptionOptional Character length and limits: 127 single-byte characters object_of :Description, String, :namespace => :ebl # The International Article Number or Universal Product Code (UPC) for the item. Empty string is allowed. Character length and limits: 17 single-byte characters object_of :EAN, String, :namespace => :ebl # The Stock-Keeping Unit or other identification code assigned to the item. Character length and limits: 64 single-byte characters object_of :SKU, String, :namespace => :ebl # A retailer could apply different return policies on different items. Each return policy would be identified using a label or identifier. This return policy identifier should be set here. This identifier will be displayed next to the item in the e-Receipt. Character length and limits: 8 single-byte characters object_of :ReturnPolicyIdentifier, String, :namespace => :ebl # total price of this item object_of :Price, BasicAmountType, :namespace => :ebl # price per item quantity object_of :ItemPrice, BasicAmountType, :namespace => :ebl # quantity of the item (non-negative) object_of :ItemCount, Float, :namespace => :ebl # Unit of measure for the itemCount object_of :ItemCountUnit, UnitOfMeasure, :namespace => :ebl # discount applied to this item array_of :Discount, DiscountType, :namespace => :ebl # identifies whether this item is taxable or not. If not passed, this will be assumed to be true. object_of :Taxable, Boolean, :namespace => :ebl # The tax percentage applied to the item. This is only used for displaying in the receipt, it is not used in pricing calculations. Note: we have totalTax at invoice level. It's up to the caller to do the calculations for setting that other element. object_of :TaxRate, Float, :namespace => :ebl # Additional fees to this item array_of :AdditionalFees, AdditionalFeeType, :namespace => :ebl # identifies whether this is reimbursable or not. If not pass, this will be assumed to be true. object_of :Reimbursable, Boolean, :namespace => :ebl # Manufacturer part number. object_of :MPN, String, :namespace => :ebl # International Standard Book Number. Reference http://en.wikipedia.org/wiki/ISBN Character length and limits: 32 single-byte characters object_of :ISBN, String, :namespace => :ebl # Price Look-Up code Reference http://en.wikipedia.org/wiki/Price_Look-Up_code Character length and limits: 5 single-byte characters object_of :PLU, String, :namespace => :ebl # Character length and limits: 32 single-byte characters object_of :ModelNumber, String, :namespace => :ebl # Character length and limits: 32 single-byte characters object_of :StyleNumber, String, :namespace => :ebl end |