Class: Inttegro::Payment::ConfirmRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::ConfirmRequest
- Defined in:
- lib/inttegro/payment/confirm_request.rb
Overview
Typed representation of the confirm 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
Unique identifier of the confirmation challenge.
-
#order_id ⇒ String
readonly
Unique identifier of the order.
-
#payment_id ⇒ String
readonly
Unique identifier of the payment being confirmed.
-
#token ⇒ String
readonly
Verification token (OTP) sent to customer.
Instance Attribute Details
#confirmation_id ⇒ String (readonly)
Unique identifier of the confirmation challenge
Required in the API payload. Wire name: confirmation_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/payment/confirm_request.rb', line 41 class ConfirmRequest < T::Struct const :order_id, String const :payment_id, String const :confirmation_id, String const :token, String end |
#order_id ⇒ String (readonly)
Unique identifier of the order
Required in the API payload. Wire name: order_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/payment/confirm_request.rb', line 41 class ConfirmRequest < T::Struct const :order_id, String const :payment_id, String const :confirmation_id, String const :token, String end |
#payment_id ⇒ String (readonly)
Unique identifier of the payment being confirmed
Required in the API payload. Wire name: payment_id.
41 42 43 44 45 46 |
# File 'lib/inttegro/payment/confirm_request.rb', line 41 class ConfirmRequest < T::Struct const :order_id, String const :payment_id, String const :confirmation_id, String const :token, String end |
#token ⇒ String (readonly)
Verification token (OTP) sent to customer
Required in the API payload. Wire name: token.
41 42 43 44 45 46 |
# File 'lib/inttegro/payment/confirm_request.rb', line 41 class ConfirmRequest < T::Struct const :order_id, String const :payment_id, String const :confirmation_id, String const :token, String end |