Class: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#additional_detailsArray[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]? (readonly)

Returns the value of attribute additional_details.



98
99
100
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 98

def additional_details
  @additional_details
end

#bill_to_partyPeddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification? (readonly)

Returns the value of attribute bill_to_party.



99
100
101
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 99

def bill_to_party
  @bill_to_party
end

#charge_detailsArray[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]? (readonly)

Returns the value of attribute charge_details.



100
101
102
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 100

def charge_details
  @charge_details
end

#invoice_dateTime (readonly)

Returns the value of attribute invoice_date.

Returns:

  • (Time)


101
102
103
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 101

def invoice_date
  @invoice_date
end

#invoice_numberString (readonly)

Returns the value of attribute invoice_number.

Returns:

  • (String)


102
103
104
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 102

def invoice_number
  @invoice_number
end

#invoice_totalPeddler::Money (readonly)

Returns the value of attribute invoice_total.

Returns:



103
104
105
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 103

def invoice_total
  @invoice_total
end

#itemsArray[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem] (readonly)

Returns the value of attribute items.



104
105
106
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 104

def items
  @items
end

#payment_terms_codeString? (readonly)

Returns the value of attribute payment_terms_code.

Returns:

  • (String, nil)


105
106
107
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 105

def payment_terms_code
  @payment_terms_code
end

#reference_numberString? (readonly)

Returns the value of attribute reference_number.

Returns:

  • (String, nil)


106
107
108
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 106

def reference_number
  @reference_number
end

#remit_to_partyPeddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification (readonly)

Returns the value of attribute remit_to_party.



107
108
109
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 107

def remit_to_party
  @remit_to_party
end

#ship_from_partyPeddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification (readonly)

Returns the value of attribute ship_from_party.



108
109
110
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 108

def ship_from_party
  @ship_from_party
end

#ship_to_country_codeString? (readonly)

Returns the value of attribute ship_to_country_code.

Returns:

  • (String, nil)


109
110
111
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 109

def ship_to_country_code
  @ship_to_country_code
end

#tax_totalsArray[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]? (readonly)

Returns the value of attribute tax_totals.



110
111
112
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 110

def tax_totals
  @tax_totals
end

Class Method Details

.[](invoice_date:, invoice_number:, invoice_total:, items:, remit_to_party:, ship_from_party:, additional_details:, bill_to_party:, charge_details:, payment_terms_code:, reference_number:, ship_to_country_code:, tax_totals:) ⇒ Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

Overloads:



91
92
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 91

def self.[]: (invoice_date: Time, invoice_number: String, invoice_total: Peddler::Money, items: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], remit_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ?additional_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, ?bill_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, ?payment_terms_code: String?, ?reference_number: String?, ?ship_to_country_code: String?, ?tax_totals: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]?) -> Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail
| (Time, String, Peddler::Money, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, String?, String?, String?, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]?) -> Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

.members[ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ]

Returns:

  • ([ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ])


94
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 94

def self.members: () -> [ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ]

.new(invoice_date:, invoice_number:, invoice_total:, items:, remit_to_party:, ship_from_party:, additional_details:, bill_to_party:, charge_details:, payment_terms_code:, reference_number:, ship_to_country_code:, tax_totals:) ⇒ Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) ⇒ Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

Overloads:



89
90
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 89

def self.new: (invoice_date: Time, invoice_number: String, invoice_total: Peddler::Money, items: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], remit_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ?additional_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, ?bill_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, ?charge_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, ?payment_terms_code: String?, ?reference_number: String?, ?ship_to_country_code: String?, ?tax_totals: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]?) -> Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail
| (Time, String, Peddler::Money, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, String?, String?, String?, Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]?) -> Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

.parsePeddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

Parameters:

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

Returns:



96
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 96

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceDetail

Instance Method Details

#members[ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ]

Returns:

  • ([ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ])


112
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 112

def members: () -> [ :invoice_date, :invoice_number, :invoice_total, :items, :remit_to_party, :ship_from_party, :additional_details, :bill_to_party, :charge_details, :payment_terms_code, :reference_number, :ship_to_country_code, :tax_totals ]

#to_h{ invoice_date: Time, invoice_number: String, invoice_total: Peddler::Money, items: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], remit_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, additional_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, bill_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, payment_terms_code: String?, reference_number: String?, ship_to_country_code: String?, tax_totals: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]? }



113
# File 'sig/peddler/apis/vendor_direct_fulfillment_payments_v1.rbs', line 113

def to_h: () -> { invoice_date: Time, invoice_number: String, invoice_total: Peddler::Money, items: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::InvoiceItem], remit_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, ship_from_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification, additional_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::AdditionalDetails]?, bill_to_party: Peddler::APIs::VendorDirectFulfillmentPaymentsV1::PartyIdentification?, charge_details: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::ChargeDetails]?, payment_terms_code: String?, reference_number: String?, ship_to_country_code: String?, tax_totals: Array[Peddler::APIs::VendorDirectFulfillmentPaymentsV1::TaxDetail]? }