Class: Inttegro::Payout::Error
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payout::Error
- Defined in:
- lib/inttegro/payout/error.rb
Overview
Deprecated compatibility projection of PayoutFailure.
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
-
#cause ⇒ String
readonly
Public explanation of the underlying failure cause.
-
#message ⇒ String
readonly
Human-readable failure message.
-
#occurred_at ⇒ Time
readonly
When the failure occurred.
-
#type ⇒ String
readonly
Stable machine-readable failure category.
Instance Attribute Details
#cause ⇒ String (readonly)
Public explanation of the underlying failure cause.
Required in the API payload. Wire name: cause.
41 42 43 44 45 46 |
# File 'lib/inttegro/payout/error.rb', line 41 class Error < T::Struct const :cause, String const :message, String const :occurred_at, Time const :type, String end |
#message ⇒ String (readonly)
Human-readable failure message.
Required in the API payload. Wire name: message.
41 42 43 44 45 46 |
# File 'lib/inttegro/payout/error.rb', line 41 class Error < T::Struct const :cause, String const :message, String const :occurred_at, Time const :type, String end |
#occurred_at ⇒ Time (readonly)
When the failure occurred.
Required in the API payload. Wire name: occurred_at.
41 42 43 44 45 46 |
# File 'lib/inttegro/payout/error.rb', line 41 class Error < T::Struct const :cause, String const :message, String const :occurred_at, Time const :type, String end |
#type ⇒ String (readonly)
Stable machine-readable failure category.
Required in the API payload. Wire name: type.
41 42 43 44 45 46 |
# File 'lib/inttegro/payout/error.rb', line 41 class Error < T::Struct const :cause, String const :message, String const :occurred_at, Time const :type, String end |