Class: Peddler::APIs::VendorInvoicesV1::Invoice
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::Invoice
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#additional_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?
readonly
Returns the value of attribute additional_details.
-
#allowance_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?
readonly
Returns the value of attribute allowance_details.
-
#bill_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute bill_to_party.
-
#charge_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?
readonly
Returns the value of attribute charge_details.
-
#date ⇒ String
readonly
Returns the value of attribute date.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#invoice_total ⇒ Peddler::Money
readonly
Returns the value of attribute invoice_total.
-
#invoice_type ⇒ String
readonly
Returns the value of attribute invoice_type.
-
#items ⇒ Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?
readonly
Returns the value of attribute items.
-
#payment_terms ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms?
readonly
Returns the value of attribute payment_terms.
-
#reference_number ⇒ String?
readonly
Returns the value of attribute reference_number.
-
#remit_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification
readonly
Returns the value of attribute remit_to_party.
-
#ship_from_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute ship_from_party.
-
#ship_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute ship_to_party.
-
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?
readonly
Returns the value of attribute tax_details.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
Instance Method Summary collapse
-
#members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
-
#to_h ⇒ { date: String, id: String, invoice_total: Peddler::Money, invoice_type: String, remit_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification, additional_details: Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, items: Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, payment_terms: Peddler::APIs::VendorInvoicesV1::PaymentTerms?, reference_number: String?, ship_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ship_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
Instance Attribute Details
#additional_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]? (readonly)
Returns the value of attribute additional_details.
140 141 142 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 140 def additional_details @additional_details end |
#allowance_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]? (readonly)
Returns the value of attribute allowance_details.
141 142 143 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 141 def allowance_details @allowance_details end |
#bill_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute bill_to_party.
142 143 144 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 142 def bill_to_party @bill_to_party end |
#charge_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]? (readonly)
Returns the value of attribute charge_details.
143 144 145 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 143 def charge_details @charge_details end |
#date ⇒ String (readonly)
Returns the value of attribute date.
144 145 146 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 144 def date @date end |
#id ⇒ String (readonly)
Returns the value of attribute id.
145 146 147 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 145 def id @id end |
#invoice_total ⇒ Peddler::Money (readonly)
Returns the value of attribute invoice_total.
146 147 148 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 146 def invoice_total @invoice_total end |
#invoice_type ⇒ String (readonly)
Returns the value of attribute invoice_type.
147 148 149 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 147 def invoice_type @invoice_type end |
#items ⇒ Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]? (readonly)
Returns the value of attribute items.
148 149 150 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 148 def items @items end |
#payment_terms ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms? (readonly)
Returns the value of attribute payment_terms.
149 150 151 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 149 def payment_terms @payment_terms end |
#reference_number ⇒ String? (readonly)
Returns the value of attribute reference_number.
150 151 152 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 150 def reference_number @reference_number end |
#remit_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification (readonly)
Returns the value of attribute remit_to_party.
151 152 153 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 151 def remit_to_party @remit_to_party end |
#ship_from_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute ship_from_party.
152 153 154 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 152 def ship_from_party @ship_from_party end |
#ship_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute ship_to_party.
153 154 155 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 153 def ship_to_party @ship_to_party end |
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? (readonly)
Returns the value of attribute tax_details.
154 155 156 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 154 def tax_details @tax_details end |
Class Method Details
.[](date:, id:, invoice_total:, invoice_type:, remit_to_party:, additional_details:, allowance_details:, bill_to_party:, charge_details:, items:, payment_terms:, reference_number:, ship_from_party:, ship_to_party:, tax_details:) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
133 134 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 133
def self.[]: (date: String, id: String, invoice_total: Peddler::Money, invoice_type: String, remit_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification, ?additional_details: Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, ?allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, ?bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?items: Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, ?payment_terms: Peddler::APIs::VendorInvoicesV1::PaymentTerms?, ?reference_number: String?, ?ship_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?ship_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::Invoice
| (String, String, Peddler::Money, String, Peddler::APIs::VendorInvoicesV1::PartyIdentification, Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, Peddler::APIs::VendorInvoicesV1::PaymentTerms?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::Invoice
|
.members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
136 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 136
def self.members: () -> [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
|
.new(date:, id:, invoice_total:, invoice_type:, remit_to_party:, additional_details:, allowance_details:, bill_to_party:, charge_details:, items:, payment_terms:, reference_number:, ship_from_party:, ship_to_party:, tax_details:) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
131 132 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 131
def self.new: (date: String, id: String, invoice_total: Peddler::Money, invoice_type: String, remit_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification, ?additional_details: Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, ?allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, ?bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?items: Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, ?payment_terms: Peddler::APIs::VendorInvoicesV1::PaymentTerms?, ?reference_number: String?, ?ship_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?ship_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::Invoice
| (String, String, Peddler::Money, String, Peddler::APIs::VendorInvoicesV1::PartyIdentification, Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, Peddler::APIs::VendorInvoicesV1::PaymentTerms?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::Invoice
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
138 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 138
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::Invoice
|
Instance Method Details
#members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
156 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 156
def members: () -> [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_to_party, :charge_details, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details ]
|
#to_h ⇒ { date: String, id: String, invoice_total: Peddler::Money, invoice_type: String, remit_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification, additional_details: Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, items: Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, payment_terms: Peddler::APIs::VendorInvoicesV1::PaymentTerms?, reference_number: String?, ship_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ship_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
157 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 157
def to_h: () -> { date: String, id: String, invoice_total: Peddler::Money, invoice_type: String, remit_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification, additional_details: Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]?, allowance_details: Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, items: Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, payment_terms: Peddler::APIs::VendorInvoicesV1::PaymentTerms?, reference_number: String?, ship_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ship_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
|