Class: Inttegro::Checkout::InvoiceView
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::InvoiceView
- Defined in:
- lib/inttegro/checkout/invoice_view.rb
Overview
Typed representation of the invoice view object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#application_id ⇒ String?
readonly
Value of the
application_idfield in the Inttegro API payload. -
#beneficiary ⇒ Inttegro::Checkout::InvoiceViewBeneficiary?
readonly
Value of the
beneficiaryfield in the Inttegro API payload. -
#created_at ⇒ Time
readonly
Value of the
created_atfield in the Inttegro API payload. -
#delivery_summary ⇒ Inttegro::Order::DocumentDeliverySummary?
readonly
Bounded aggregate of Chime-accepted sends for one generated order document.
-
#due_at ⇒ Time?
readonly
Value of the
due_atfield in the Inttegro API payload. -
#format_value ⇒ Inttegro::Checkout::InvoiceViewFormat
readonly
Value of the
formatfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#number ⇒ String?
readonly
Value of the
numberfield in the Inttegro API payload. -
#status ⇒ Inttegro::Checkout::InvoiceViewStatus?
readonly
Value of the
statusfield in the Inttegro API payload.
Instance Attribute Details
#application_id ⇒ String? (readonly)
Value of the application_id field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: application_id.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#beneficiary ⇒ Inttegro::Checkout::InvoiceViewBeneficiary? (readonly)
Value of the beneficiary field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: beneficiary.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#created_at ⇒ Time (readonly)
Value of the created_at field in the Inttegro API payload.
Required in the API payload. Wire name: created_at.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#delivery_summary ⇒ Inttegro::Order::DocumentDeliverySummary? (readonly)
Bounded aggregate of Chime-accepted sends for one generated order document.
Optional in the API payload; omitted values default to nil. Wire name: delivery_summary.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#due_at ⇒ Time? (readonly)
Value of the due_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: due_at.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#format_value ⇒ Inttegro::Checkout::InvoiceViewFormat (readonly)
Value of the format field in the Inttegro API payload.
Required in the API payload. Wire name: format.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#number ⇒ String? (readonly)
Value of the number field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: number.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |
#status ⇒ Inttegro::Checkout::InvoiceViewStatus? (readonly)
Value of the status field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: status.
75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/inttegro/checkout/invoice_view.rb', line 75 class InvoiceView < T::Struct const :delivery_summary, T.nilable(Inttegro::Order::DocumentDeliverySummary), default: nil const :id, String const :application_id, T.nilable(String), default: nil const :number, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Checkout::InvoiceViewStatus), default: nil const :created_at, Time const :due_at, T.nilable(Time), default: nil const :format_value, Inttegro::Checkout::InvoiceViewFormat, name: "format" const :beneficiary, T.nilable(Inttegro::Checkout::InvoiceViewBeneficiary), default: nil end |