Class: Inttegro::Checkout::OrderPayment
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::OrderPayment
- Defined in:
- lib/inttegro/checkout/order_payment.rb
Overview
Typed representation of the order payment 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
-
#amount ⇒ Inttegro::Money::Amount?
readonly
Value of the
amountfield in the Inttegro API payload. -
#billing_details ⇒ Inttegro::Order::PaymentBillingDetails?
readonly
Value of the
billing_detailsfield in the Inttegro API payload. -
#canceled_at ⇒ Time?
readonly
Value of the
canceled_atfield in the Inttegro API payload. -
#due_at ⇒ Time?
readonly
Value of the
due_atfield in the Inttegro API payload. -
#executed_at ⇒ Time?
readonly
Value of the
executed_atfield in the Inttegro API payload. -
#expired_at ⇒ Time?
readonly
Value of the
expired_atfield in the Inttegro API payload. -
#failed_at ⇒ Time?
readonly
Value of the
failed_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. -
#latest_attempt ⇒ Inttegro::Order::PaymentAttempt?
readonly
Value of the
latest_attemptfield in the Inttegro API payload. -
#latest_error ⇒ Inttegro::Order::PaymentError?
readonly
Value of the
latest_errorfield in the Inttegro API payload. -
#next_action ⇒ Inttegro::Payment::NextAction?
readonly
Next action required to complete a payment.
-
#paid_at ⇒ Time?
readonly
Value of the
paid_atfield in the Inttegro API payload. -
#paid_offline ⇒ Boolean?
readonly
Value of the
paid_offlinefield in the Inttegro API payload. -
#payment_method ⇒ Inttegro::Payment::PaymentMethod?
readonly
Value of the
payment_methodfield in the Inttegro API payload. -
#payment_method_types ⇒ Array<String>?
readonly
Value of the
payment_method_typesfield in the Inttegro API payload. -
#receipt ⇒ Inttegro::Checkout::InvoiceView?
readonly
Value of the
receiptfield in the Inttegro API payload. -
#statement_descriptor ⇒ String?
readonly
Value of the
statement_descriptorfield in the Inttegro API payload. -
#status ⇒ Inttegro::Checkout::OrderPaymentStatus?
readonly
Value of the
statusfield in the Inttegro API payload.
Instance Attribute Details
#amount ⇒ Inttegro::Money::Amount? (readonly)
Value of the amount field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: amount.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#billing_details ⇒ Inttegro::Order::PaymentBillingDetails? (readonly)
Value of the billing_details field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: billing_details.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#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.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), 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.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#executed_at ⇒ Time? (readonly)
Value of the executed_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: executed_at.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#expired_at ⇒ Time? (readonly)
Value of the expired_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: expired_at.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#failed_at ⇒ Time? (readonly)
Value of the failed_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: failed_at.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#id ⇒ String? (readonly)
Value of the id field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: id.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#initiated_at ⇒ Time? (readonly)
Value of the initiated_at field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: initiated_at.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#latest_attempt ⇒ Inttegro::Order::PaymentAttempt? (readonly)
Value of the latest_attempt field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: latest_attempt.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#latest_error ⇒ Inttegro::Order::PaymentError? (readonly)
Value of the latest_error field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: latest_error.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#next_action ⇒ Inttegro::Payment::NextAction? (readonly)
Next action required to complete a payment
Optional in the API payload; omitted values default to nil. Wire name: next_action.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), 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.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#paid_offline ⇒ Boolean? (readonly)
Value of the paid_offline field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: paid_offline.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#payment_method ⇒ Inttegro::Payment::PaymentMethod? (readonly)
Value of the payment_method field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: payment_method.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#payment_method_types ⇒ Array<String>? (readonly)
Value of the payment_method_types field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: payment_method_types.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#receipt ⇒ Inttegro::Checkout::InvoiceView? (readonly)
Value of the receipt field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: receipt.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#statement_descriptor ⇒ String? (readonly)
Value of the statement_descriptor field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: statement_descriptor.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |
#status ⇒ Inttegro::Checkout::OrderPaymentStatus? (readonly)
Value of the status field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: status.
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/inttegro/checkout/order_payment.rb', line 139 class OrderPayment < T::Struct const :id, T.nilable(String), default: nil const :statement_descriptor, T.nilable(String), default: nil const :payment_method_types, T.nilable(T::Array[String]), default: nil const :payment_method, T.nilable(Inttegro::Payment::PaymentMethod), default: nil const :billing_details, T.nilable(Inttegro::Order::PaymentBillingDetails), default: nil const :receipt, T.nilable(Inttegro::Checkout::InvoiceView), default: nil const :latest_attempt, T.nilable(Inttegro::Order::PaymentAttempt), default: nil const :amount, T.nilable(Inttegro::Money::Amount), default: nil const :next_action, T.nilable(Inttegro::Payment::NextAction), default: nil const :latest_error, T.nilable(Inttegro::Order::PaymentError), default: nil const :status, T.nilable(Inttegro::Checkout::OrderPaymentStatus), default: nil const :initiated_at, T.nilable(Time), default: nil const :executed_at, T.nilable(Time), default: nil const :due_at, T.nilable(Time), default: nil const :canceled_at, T.nilable(Time), default: nil const :expired_at, T.nilable(Time), default: nil const :paid_at, T.nilable(Time), default: nil const :paid_offline, T.nilable(T::Boolean), default: nil const :failed_at, T.nilable(Time), default: nil end |