Class: PayPal::SDK::Invoice::DataTypes::InvoiceItemType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Invoice::DataTypes::InvoiceItemType
- Defined in:
- lib/paypal-sdk/invoice/data_types.rb
Overview
Item information about a service or product listed in the invoice.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/paypal-sdk/invoice/data_types.rb', line 200 def self.load_members # SKU or item name. object_of :name, String, :required => true # Description of the item. object_of :description, String # Date on which the product or service was provided. object_of :date, DateTime # Item count. object_of :quantity, Float, :required => true # Price of the item, in the currency specified by the invoice. object_of :unitPrice, Float, :required => true # Name of an applicable tax, if any. object_of :taxName, String # Rate of an applicable tax, if any. object_of :taxRate, Float end |