Class: Inttegro::Checkout::ConfirmPaymentRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::ConfirmPaymentRequest
- Defined in:
- lib/inttegro/checkout/confirm_payment_request.rb
Overview
Typed representation of the confirm payment request 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
-
#confirmation_id ⇒ String?
readonly
Optional confirmation attempt identifier.
-
#order_id ⇒ String
readonly
Value of the
order_idfield in the Inttegro API payload. -
#payment_id ⇒ String?
readonly
Optional payment identifier when already known by the client.
-
#token ⇒ String
readonly
Payer confirmation token.
Instance Attribute Details
#confirmation_id ⇒ String? (readonly)
Optional confirmation attempt identifier.
Optional in the API payload; omitted values default to nil. Wire name: confirmation_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/checkout/confirm_payment_request.rb', line 41 class ConfirmPaymentRequest < T::Struct const :order_id, String const :payment_id, T.nilable(String), default: nil const :confirmation_id, T.nilable(String), default: nil const :token, String end |
#order_id ⇒ String (readonly)
Value of the order_id field in the Inttegro API payload.
Required in the API payload. Wire name: order_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/checkout/confirm_payment_request.rb', line 41 class ConfirmPaymentRequest < T::Struct const :order_id, String const :payment_id, T.nilable(String), default: nil const :confirmation_id, T.nilable(String), default: nil const :token, String end |
#payment_id ⇒ String? (readonly)
Optional payment identifier when already known by the client.
Optional in the API payload; omitted values default to nil. Wire name: payment_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/checkout/confirm_payment_request.rb', line 41 class ConfirmPaymentRequest < T::Struct const :order_id, String const :payment_id, T.nilable(String), default: nil const :confirmation_id, T.nilable(String), default: nil const :token, String end |
#token ⇒ String (readonly)
Payer confirmation token.
Required in the API payload. Wire name: token.
41 42 43 44 45 46 |
# File 'lib/inttegro/checkout/confirm_payment_request.rb', line 41 class ConfirmPaymentRequest < T::Struct const :order_id, String const :payment_id, T.nilable(String), default: nil const :confirmation_id, T.nilable(String), default: nil const :token, String end |