Class: Inttegro::Payment::NextActionConfirmPaymentAttempt
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::NextActionConfirmPaymentAttempt
- Defined in:
- lib/inttegro/payment/next_action_confirm_payment_attempt.rb
Overview
Latest confirmation attempt
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
-
#confirmed ⇒ Boolean
readonly
Whether the confirmation has succeeded.
-
#created_at ⇒ Time
readonly
When the attempt was created.
-
#executed_at ⇒ Time?
readonly
When the attempt was executed.
-
#reason ⇒ String
readonly
Reason for the current attempt state.
-
#status ⇒ String
readonly
Attempt status.
Instance Attribute Details
#confirmed ⇒ Boolean (readonly)
Whether the confirmation has succeeded
Required in the API payload. Wire name: confirmed.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/next_action_confirm_payment_attempt.rb', line 47 class NextActionConfirmPaymentAttempt < T::Struct const :status, String const :confirmed, T::Boolean const :reason, String const :executed_at, T.nilable(Time), default: nil const :created_at, Time end |
#created_at ⇒ Time (readonly)
When the attempt was created
Required in the API payload. Wire name: created_at.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/next_action_confirm_payment_attempt.rb', line 47 class NextActionConfirmPaymentAttempt < T::Struct const :status, String const :confirmed, T::Boolean const :reason, String const :executed_at, T.nilable(Time), default: nil const :created_at, Time end |
#executed_at ⇒ Time? (readonly)
When the attempt was executed
Optional in the API payload; omitted values default to nil. Wire name: executed_at.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/next_action_confirm_payment_attempt.rb', line 47 class NextActionConfirmPaymentAttempt < T::Struct const :status, String const :confirmed, T::Boolean const :reason, String const :executed_at, T.nilable(Time), default: nil const :created_at, Time end |
#reason ⇒ String (readonly)
Reason for the current attempt state
Required in the API payload. Wire name: reason.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/next_action_confirm_payment_attempt.rb', line 47 class NextActionConfirmPaymentAttempt < T::Struct const :status, String const :confirmed, T::Boolean const :reason, String const :executed_at, T.nilable(Time), default: nil const :created_at, Time end |
#status ⇒ String (readonly)
Attempt status
Required in the API payload. Wire name: status.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/next_action_confirm_payment_attempt.rb', line 47 class NextActionConfirmPaymentAttempt < T::Struct const :status, String const :confirmed, T::Boolean const :reason, String const :executed_at, T.nilable(Time), default: nil const :created_at, Time end |