Class: Inttegro::Payment::LatestError
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payment::LatestError
- Defined in:
- lib/inttegro/payment/latest_error.rb
Overview
Typed representation of the latest error 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
-
#code ⇒ String
readonly
Value of the
codefield in the Inttegro API payload. -
#docs_url ⇒ String
readonly
Value of the
docs_urlfield in the Inttegro API payload. -
#message ⇒ String
readonly
Value of the
messagefield in the Inttegro API payload. -
#source ⇒ String
readonly
Value of the
sourcefield in the Inttegro API payload. -
#type ⇒ String
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#code ⇒ String (readonly)
Value of the code field in the Inttegro API payload.
Required in the API payload. Wire name: code.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/latest_error.rb', line 47 class LatestError < T::Struct const :message, String const :docs_url, String const :source, String const :type, String const :code, String end |
#docs_url ⇒ String (readonly)
Value of the docs_url field in the Inttegro API payload.
Required in the API payload. Wire name: docs_url.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/latest_error.rb', line 47 class LatestError < T::Struct const :message, String const :docs_url, String const :source, String const :type, String const :code, String end |
#message ⇒ String (readonly)
Value of the message field in the Inttegro API payload.
Required in the API payload. Wire name: message.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/latest_error.rb', line 47 class LatestError < T::Struct const :message, String const :docs_url, String const :source, String const :type, String const :code, String end |
#source ⇒ String (readonly)
Value of the source field in the Inttegro API payload.
Required in the API payload. Wire name: source.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/latest_error.rb', line 47 class LatestError < T::Struct const :message, String const :docs_url, String const :source, String const :type, String const :code, String end |
#type ⇒ String (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/payment/latest_error.rb', line 47 class LatestError < T::Struct const :message, String const :docs_url, String const :source, String const :type, String const :code, String end |