Class: Inttegro::Checkout::Order
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::Order
- Defined in:
- lib/inttegro/checkout/order.rb
Overview
Current checkout projection. Its existing fields are published unchanged for the initial mobile SDK contract and may be narrowed in a future contract revision.
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
-
#canceled_at ⇒ Time?
readonly
Value of the
canceled_atfield in the Inttegro API payload. -
#checkout_settings ⇒ Inttegro::Checkout::OrderCheckoutSettings?
readonly
Value of the
checkout_settingsfield in the Inttegro API payload. -
#completed_at ⇒ Time?
readonly
Value of the
completed_atfield in the Inttegro API payload. -
#created_from ⇒ Inttegro::Checkout::OrderCreatedFrom?
readonly
Value of the
created_fromfield in the Inttegro API payload. -
#customer ⇒ Inttegro::Checkout::OrderCustomer
readonly
Value of the
customerfield in the Inttegro API payload. -
#expires_at ⇒ Time?
readonly
Value of the
expires_atfield in the Inttegro API payload. -
#id ⇒ String
readonly
Value of the
idfield in the Inttegro API payload. -
#initiated_at ⇒ Time
readonly
Value of the
initiated_atfield in the Inttegro API payload. -
#invoice ⇒ Inttegro::Checkout::InvoiceView?
readonly
Value of the
invoicefield in the Inttegro API payload. -
#line_item_group ⇒ Inttegro::Checkout::OrderLineItemGroup?
readonly
Value of the
line_item_groupfield in the Inttegro API payload. -
#number ⇒ String?
readonly
Value of the
numberfield in the Inttegro API payload. -
#paid_at ⇒ Time?
readonly
Value of the
paid_atfield in the Inttegro API payload. -
#payment ⇒ Inttegro::Checkout::OrderPayment?
readonly
Value of the
paymentfield in the Inttegro API payload. -
#payment_due_at ⇒ Time?
readonly
Value of the
payment_due_atfield in the Inttegro API payload. -
#receipt_number ⇒ String?
readonly
Value of the
receipt_numberfield in the Inttegro API payload. -
#reference ⇒ String?
readonly
Value of the
referencefield in the Inttegro API payload. -
#sealed_at ⇒ Time?
readonly
Value of the
sealed_atfield in the Inttegro API payload. -
#status ⇒ Inttegro::Checkout::OrderStatus
readonly
Value of the
statusfield in the Inttegro API payload.
Instance Attribute Details
#canceled_at ⇒ Time? (readonly)
Value of the canceled_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: canceled_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#checkout_settings ⇒ Inttegro::Checkout::OrderCheckoutSettings? (readonly)
Value of the checkout_settings field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: checkout_settings.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#completed_at ⇒ Time? (readonly)
Value of the completed_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: completed_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#created_from ⇒ Inttegro::Checkout::OrderCreatedFrom? (readonly)
Value of the created_from field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: created_from.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#customer ⇒ Inttegro::Checkout::OrderCustomer (readonly)
Value of the customer field in the Inttegro API payload.
Required in the API payload. Wire name: customer.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#expires_at ⇒ Time? (readonly)
Value of the expires_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: expires_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#id ⇒ String (readonly)
Value of the id field in the Inttegro API payload.
Required in the API payload. Wire name: id.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#initiated_at ⇒ Time (readonly)
Value of the initiated_at field in the Inttegro API payload.
Required in the API payload. Wire name: initiated_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#invoice ⇒ Inttegro::Checkout::InvoiceView? (readonly)
Value of the invoice field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: invoice.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#line_item_group ⇒ Inttegro::Checkout::OrderLineItemGroup? (readonly)
Value of the line_item_group field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: line_item_group.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), 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.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#paid_at ⇒ Time? (readonly)
Value of the paid_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: paid_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#payment ⇒ Inttegro::Checkout::OrderPayment? (readonly)
Value of the payment field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: payment.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#payment_due_at ⇒ Time? (readonly)
Value of the payment_due_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: payment_due_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#receipt_number ⇒ String? (readonly)
Value of the receipt_number field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: receipt_number.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#reference ⇒ String? (readonly)
Value of the reference field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reference.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#sealed_at ⇒ Time? (readonly)
Value of the sealed_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: sealed_at.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |
#status ⇒ Inttegro::Checkout::OrderStatus (readonly)
Value of the status field in the Inttegro API payload.
Required in the API payload. Wire name: status.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/inttegro/checkout/order.rb', line 133 class Order < T::Struct const :id, String const :number, T.nilable(String), default: nil const :receipt_number, T.nilable(String), default: nil const :reference, T.nilable(String), default: nil const :status, Inttegro::Checkout::OrderStatus const :initiated_at, Time const :sealed_at, T.nilable(Time), default: nil const :completed_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expires_at, T.nilable(Time), default: nil const :payment_due_at, T.nilable(Time), default: nil const :checkout_settings, T.nilable(Inttegro::Checkout::OrderCheckoutSettings), default: nil const :line_item_group, T.nilable(Inttegro::Checkout::OrderLineItemGroup), default: nil const :customer, Inttegro::Checkout::OrderCustomer const :created_from, T.nilable(Inttegro::Checkout::OrderCreatedFrom), default: nil const :payment, T.nilable(Inttegro::Checkout::OrderPayment), default: nil const :invoice, T.nilable(Inttegro::Checkout::InvoiceView), default: nil end |