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_from_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute bill_from_party.
-
#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_base_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute invoice_base_amount.
-
#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.
-
#tax_point_date ⇒ String?
readonly
Returns the value of attribute tax_point_date.
-
#tax_representative_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute tax_representative_party.
-
#vat_group_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification?
readonly
Returns the value of attribute vat_group_party.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
-
.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_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
-
#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_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, invoice_base_amount: Peddler::Money?, 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]?, tax_point_date: String?, tax_representative_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, vat_group_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification? }
Instance Attribute Details
#additional_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AdditionalDetails]? (readonly)
Returns the value of attribute additional_details.
158 159 160 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 158 def additional_details @additional_details end |
#allowance_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::AllowanceDetails]? (readonly)
Returns the value of attribute allowance_details.
159 160 161 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 159 def allowance_details @allowance_details end |
#bill_from_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute bill_from_party.
160 161 162 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 160 def bill_from_party @bill_from_party end |
#bill_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute bill_to_party.
161 162 163 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 161 def bill_to_party @bill_to_party end |
#charge_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]? (readonly)
Returns the value of attribute charge_details.
162 163 164 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 162 def charge_details @charge_details end |
#date ⇒ String (readonly)
Returns the value of attribute date.
163 164 165 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 163 def date @date end |
#id ⇒ String (readonly)
Returns the value of attribute id.
164 165 166 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 164 def id @id end |
#invoice_base_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute invoice_base_amount.
165 166 167 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 165 def invoice_base_amount @invoice_base_amount end |
#invoice_total ⇒ Peddler::Money (readonly)
Returns the value of attribute invoice_total.
166 167 168 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 166 def invoice_total @invoice_total end |
#invoice_type ⇒ String (readonly)
Returns the value of attribute invoice_type.
167 168 169 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 167 def invoice_type @invoice_type end |
#items ⇒ Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]? (readonly)
Returns the value of attribute items.
168 169 170 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 168 def items @items end |
#payment_terms ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms? (readonly)
Returns the value of attribute payment_terms.
169 170 171 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 169 def payment_terms @payment_terms end |
#reference_number ⇒ String? (readonly)
Returns the value of attribute reference_number.
170 171 172 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 170 def reference_number @reference_number end |
#remit_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification (readonly)
Returns the value of attribute remit_to_party.
171 172 173 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 171 def remit_to_party @remit_to_party end |
#ship_from_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute ship_from_party.
172 173 174 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 172 def ship_from_party @ship_from_party end |
#ship_to_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute ship_to_party.
173 174 175 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 173 def ship_to_party @ship_to_party end |
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? (readonly)
Returns the value of attribute tax_details.
174 175 176 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 174 def tax_details @tax_details end |
#tax_point_date ⇒ String? (readonly)
Returns the value of attribute tax_point_date.
175 176 177 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 175 def tax_point_date @tax_point_date end |
#tax_representative_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute tax_representative_party.
176 177 178 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 176 def tax_representative_party @tax_representative_party end |
#vat_group_party ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification? (readonly)
Returns the value of attribute vat_group_party.
177 178 179 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 177 def vat_group_party @vat_group_party end |
Class Method Details
.[](date:, id:, invoice_total:, invoice_type:, remit_to_party:, additional_details:, allowance_details:, bill_from_party:, bill_to_party:, charge_details:, invoice_base_amount:, items:, payment_terms:, reference_number:, ship_from_party:, ship_to_party:, tax_details:, tax_point_date:, tax_representative_party:, vat_group_party:) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
151 152 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 151
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_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?invoice_base_amount: Peddler::Money?, ?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]?, ?tax_point_date: String?, ?tax_representative_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?vat_group_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?) -> 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?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Peddler::Money?, Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, Peddler::APIs::VendorInvoicesV1::PaymentTerms?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?) -> Peddler::APIs::VendorInvoicesV1::Invoice
|
.members ⇒ [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
154 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 154
def self.members: () -> [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
|
.new(date:, id:, invoice_total:, invoice_type:, remit_to_party:, additional_details:, allowance_details:, bill_from_party:, bill_to_party:, charge_details:, invoice_base_amount:, items:, payment_terms:, reference_number:, ship_from_party:, ship_to_party:, tax_details:, tax_point_date:, tax_representative_party:, vat_group_party:) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
149 150 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 149
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_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, ?invoice_base_amount: Peddler::Money?, ?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]?, ?tax_point_date: String?, ?tax_representative_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, ?vat_group_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?) -> 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?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, Peddler::Money?, Array[Peddler::APIs::VendorInvoicesV1::InvoiceItem]?, Peddler::APIs::VendorInvoicesV1::PaymentTerms?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?, String?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?, Peddler::APIs::VendorInvoicesV1::PartyIdentification?) -> Peddler::APIs::VendorInvoicesV1::Invoice
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::Invoice
156 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 156
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_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
179 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 179
def members: () -> [ :date, :id, :invoice_total, :invoice_type, :remit_to_party, :additional_details, :allowance_details, :bill_from_party, :bill_to_party, :charge_details, :invoice_base_amount, :items, :payment_terms, :reference_number, :ship_from_party, :ship_to_party, :tax_details, :tax_point_date, :tax_representative_party, :vat_group_party ]
|
#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_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, invoice_base_amount: Peddler::Money?, 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]?, tax_point_date: String?, tax_representative_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, vat_group_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification? }
180 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 180
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_from_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, bill_to_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorInvoicesV1::ChargeDetails]?, invoice_base_amount: Peddler::Money?, 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]?, tax_point_date: String?, tax_representative_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification?, vat_group_party: Peddler::APIs::VendorInvoicesV1::PartyIdentification? }
|