Class: Inttegro::Payment::NextActionConfirmPaymentRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::NextActionConfirmPaymentRequest
- Defined in:
- lib/inttegro/payment/next_action_confirm_payment_request.rb
Overview
Confirmation request details
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
-
#id ⇒ String
readonly
Unique identifier for the confirmation request.
-
#recipient ⇒ String
readonly
Recipient of the confirmation token.
-
#sender_id ⇒ String
readonly
Sender ID for the message.
-
#sent_via ⇒ Inttegro::Payment::ConfirmationChannel
readonly
Channel used to send the token.
-
#status ⇒ String?
readonly
Current request status.
-
#token_size ⇒ Integer
readonly
Number of digits in the token.
Instance Attribute Details
#id ⇒ String (readonly)
Unique identifier for the confirmation request
Required in the API payload. Wire name: id.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |
#recipient ⇒ String (readonly)
Recipient of the confirmation token
Required in the API payload. Wire name: recipient.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |
#sender_id ⇒ String (readonly)
Sender ID for the message
Required in the API payload. Wire name: sender_id.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |
#sent_via ⇒ Inttegro::Payment::ConfirmationChannel (readonly)
Channel used to send the token
Required in the API payload. Wire name: sent_via.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |
#status ⇒ String? (readonly)
Current request status
Optional in the API payload; omitted values default to nil. Wire name: status.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |
#token_size ⇒ Integer (readonly)
Number of digits in the token
Required in the API payload. Wire name: token_size.
54 55 56 57 58 59 60 61 |
# File 'lib/inttegro/payment/next_action_confirm_payment_request.rb', line 54 class NextActionConfirmPaymentRequest < T::Struct const :id, String const :recipient, String const :sent_via, Inttegro::Payment::ConfirmationChannel const :token_size, Integer const :sender_id, String const :status, T.nilable(String), default: nil end |