Class: Peddler::APIs::VendorInvoicesV1::Invoice

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_invoices_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#additional_detailsArray[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_detailsArray[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_partyPeddler::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_detailsArray[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

#dateString (readonly)

Returns the value of attribute date.

Returns:

  • (String)


144
145
146
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 144

def date
  @date
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


145
146
147
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 145

def id
  @id
end

#invoice_totalPeddler::Money (readonly)

Returns the value of attribute invoice_total.

Returns:



146
147
148
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 146

def invoice_total
  @invoice_total
end

#invoice_typeString (readonly)

Returns the value of attribute invoice_type.

Returns:

  • (String)


147
148
149
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 147

def invoice_type
  @invoice_type
end

#itemsArray[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_termsPeddler::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_numberString? (readonly)

Returns the value of attribute reference_number.

Returns:

  • (String, nil)


150
151
152
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 150

def reference_number
  @reference_number
end

#remit_to_partyPeddler::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_partyPeddler::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_partyPeddler::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_detailsArray[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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::VendorInvoicesV1::Invoice

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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]? }