Class: Peddler::APIs::VendorInvoicesV1::InvoiceItem
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::InvoiceItem
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#allowance_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?
readonly
Returns the value of attribute allowance_details.
-
#amazon_product_identifier ⇒ String?
readonly
Returns the value of attribute amazon_product_identifier.
-
#charge_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?
readonly
Returns the value of attribute charge_details.
-
#credit_note_details ⇒ Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?
readonly
Returns the value of attribute credit_note_details.
-
#hsn_code ⇒ String?
readonly
Returns the value of attribute hsn_code.
-
#invoiced_quantity ⇒ Peddler::APIs::VendorInvoicesV1::ItemQuantity
readonly
Returns the value of attribute invoiced_quantity.
-
#item_sequence_number ⇒ Integer
readonly
Returns the value of attribute item_sequence_number.
-
#net_cost ⇒ Peddler::Money
readonly
Returns the value of attribute net_cost.
-
#net_cost_unit_of_measure ⇒ String?
readonly
Returns the value of attribute net_cost_unit_of_measure.
-
#purchase_order_number ⇒ String?
readonly
Returns the value of attribute purchase_order_number.
-
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?
readonly
Returns the value of attribute tax_details.
-
#vendor_product_identifier ⇒ String?
readonly
Returns the value of attribute vendor_product_identifier.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem
Instance Method Summary collapse
-
#members ⇒ [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
-
#to_h ⇒ { invoiced_quantity: Peddler::APIs::VendorInvoicesV1::ItemQuantity, item_sequence_number: Integer, net_cost: Peddler::Money, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, amazon_product_identifier: String?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, credit_note_details: Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, hsn_code: String?, net_cost_unit_of_measure: String?, purchase_order_number: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, vendor_product_identifier: String? }
Instance Attribute Details
#allowance_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]? (readonly)
Returns the value of attribute allowance_details.
170 171 172 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 170 def allowance_details @allowance_details end |
#amazon_product_identifier ⇒ String? (readonly)
Returns the value of attribute amazon_product_identifier.
171 172 173 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 171 def amazon_product_identifier @amazon_product_identifier end |
#charge_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]? (readonly)
Returns the value of attribute charge_details.
172 173 174 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 172 def charge_details @charge_details end |
#credit_note_details ⇒ Peddler::APIs::VendorInvoicesV1::CreditNoteDetails? (readonly)
Returns the value of attribute credit_note_details.
173 174 175 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 173 def credit_note_details @credit_note_details end |
#hsn_code ⇒ String? (readonly)
Returns the value of attribute hsn_code.
174 175 176 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 174 def hsn_code @hsn_code end |
#invoiced_quantity ⇒ Peddler::APIs::VendorInvoicesV1::ItemQuantity (readonly)
Returns the value of attribute invoiced_quantity.
175 176 177 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 175 def invoiced_quantity @invoiced_quantity end |
#item_sequence_number ⇒ Integer (readonly)
Returns the value of attribute item_sequence_number.
176 177 178 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 176 def item_sequence_number @item_sequence_number end |
#net_cost ⇒ Peddler::Money (readonly)
Returns the value of attribute net_cost.
177 178 179 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 177 def net_cost @net_cost end |
#net_cost_unit_of_measure ⇒ String? (readonly)
Returns the value of attribute net_cost_unit_of_measure.
178 179 180 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 178 def net_cost_unit_of_measure @net_cost_unit_of_measure end |
#purchase_order_number ⇒ String? (readonly)
Returns the value of attribute purchase_order_number.
179 180 181 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 179 def purchase_order_number @purchase_order_number end |
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? (readonly)
Returns the value of attribute tax_details.
180 181 182 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 180 def tax_details @tax_details end |
#vendor_product_identifier ⇒ String? (readonly)
Returns the value of attribute vendor_product_identifier.
181 182 183 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 181 def vendor_product_identifier @vendor_product_identifier end |
Class Method Details
.[](invoiced_quantity:, item_sequence_number:, net_cost:, allowance_details:, amazon_product_identifier:, charge_details:, credit_note_details:, hsn_code:, net_cost_unit_of_measure:, purchase_order_number:, tax_details:, vendor_product_identifier:) ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem
163 164 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 163
def self.[]: (invoiced_quantity: Peddler::APIs::VendorInvoicesV1::ItemQuantity, item_sequence_number: Integer, net_cost: Peddler::Money, ?allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, ?amazon_product_identifier: String?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?credit_note_details: Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, ?hsn_code: String?, ?net_cost_unit_of_measure: String?, ?purchase_order_number: String?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, ?vendor_product_identifier: String?) -> Peddler::APIs::VendorInvoicesV1::InvoiceItem
| (Peddler::APIs::VendorInvoicesV1::ItemQuantity, Integer, Peddler::Money, Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, String?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, String?, String?, String?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, String?) -> Peddler::APIs::VendorInvoicesV1::InvoiceItem
|
.members ⇒ [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
166 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 166
def self.members: () -> [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
|
.new(invoiced_quantity:, item_sequence_number:, net_cost:, allowance_details:, amazon_product_identifier:, charge_details:, credit_note_details:, hsn_code:, net_cost_unit_of_measure:, purchase_order_number:, tax_details:, vendor_product_identifier:) ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem
161 162 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 161
def self.new: (invoiced_quantity: Peddler::APIs::VendorInvoicesV1::ItemQuantity, item_sequence_number: Integer, net_cost: Peddler::Money, ?allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, ?amazon_product_identifier: String?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?credit_note_details: Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, ?hsn_code: String?, ?net_cost_unit_of_measure: String?, ?purchase_order_number: String?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, ?vendor_product_identifier: String?) -> Peddler::APIs::VendorInvoicesV1::InvoiceItem
| (Peddler::APIs::VendorInvoicesV1::ItemQuantity, Integer, Peddler::Money, Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, String?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, String?, String?, String?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, String?) -> Peddler::APIs::VendorInvoicesV1::InvoiceItem
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::InvoiceItem
168 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 168
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::InvoiceItem
|
Instance Method Details
#members ⇒ [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
183 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 183
def members: () -> [ :invoiced_quantity, :item_sequence_number, :net_cost, :allowance_details, :amazon_product_identifier, :charge_details, :credit_note_details, :hsn_code, :net_cost_unit_of_measure, :purchase_order_number, :tax_details, :vendor_product_identifier ]
|
#to_h ⇒ { invoiced_quantity: Peddler::APIs::VendorInvoicesV1::ItemQuantity, item_sequence_number: Integer, net_cost: Peddler::Money, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, amazon_product_identifier: String?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, credit_note_details: Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, hsn_code: String?, net_cost_unit_of_measure: String?, purchase_order_number: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, vendor_product_identifier: String? }
184 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 184
def to_h: () -> { invoiced_quantity: Peddler::APIs::VendorInvoicesV1::ItemQuantity, item_sequence_number: Integer, net_cost: Peddler::Money, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, amazon_product_identifier: String?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, credit_note_details: Peddler::APIs::VendorInvoicesV1::CreditNoteDetails?, hsn_code: String?, net_cost_unit_of_measure: String?, purchase_order_number: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, vendor_product_identifier: String? }
|