Class: Inttegro::PaymentMethod::Verification
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PaymentMethod::Verification
- Defined in:
- lib/inttegro/payment_method/verification.rb
Overview
Most recent verification record when the payment method has entered a verification flow.
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
-
#completed_at ⇒ Time?
readonly
When verification was completed.
-
#initiated_at ⇒ Time
readonly
When verification was initiated.
-
#mechanism ⇒ String?
readonly
Verification mechanism used.
-
#request_id ⇒ String
readonly
ID of the verification request.
-
#type ⇒ String
readonly
Verification type.
Instance Attribute Details
#completed_at ⇒ Time? (readonly)
When verification was completed
Optional in the API payload; omitted values default to nil. Wire name: completed_at.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment_method/verification.rb', line 47 class Verification < T::Struct const :completed_at, T.nilable(Time), default: nil const :initiated_at, Time const :mechanism, T.nilable(String), default: nil const :request_id, String const :type, String end |
#initiated_at ⇒ Time (readonly)
When verification was initiated
Required in the API payload. Wire name: initiated_at.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment_method/verification.rb', line 47 class Verification < T::Struct const :completed_at, T.nilable(Time), default: nil const :initiated_at, Time const :mechanism, T.nilable(String), default: nil const :request_id, String const :type, String end |
#mechanism ⇒ String? (readonly)
Verification mechanism used
Optional in the API payload; omitted values default to nil. Wire name: mechanism.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment_method/verification.rb', line 47 class Verification < T::Struct const :completed_at, T.nilable(Time), default: nil const :initiated_at, Time const :mechanism, T.nilable(String), default: nil const :request_id, String const :type, String end |
#request_id ⇒ String (readonly)
ID of the verification request
Required in the API payload. Wire name: request_id.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment_method/verification.rb', line 47 class Verification < T::Struct const :completed_at, T.nilable(Time), default: nil const :initiated_at, Time const :mechanism, T.nilable(String), default: nil const :request_id, String const :type, String end |
#type ⇒ String (readonly)
Verification type
Required in the API payload. Wire name: type.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment_method/verification.rb', line 47 class Verification < T::Struct const :completed_at, T.nilable(Time), default: nil const :initiated_at, Time const :mechanism, T.nilable(String), default: nil const :request_id, String const :type, String end |