class PayPal::SDK::Merchant::DataTypes::InvoiceItemType

Describes an individual item for an invoice.

Public Class Methods

load_members() click to toggle source
# 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