Class: Inttegro::Refund::RequestMeta
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::RequestMeta
- Defined in:
- lib/inttegro/refund/request_meta.rb
Overview
Typed representation of the request meta 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
-
#idempotency_key ⇒ String?
readonly
Stable retry key carried inside
request_meta. -
#response ⇒ Inttegro::Request::Response?
readonly
Caller-controlled preferences for computing and representing the successful response.
Instance Attribute Details
#idempotency_key ⇒ String? (readonly)
Stable retry key carried inside request_meta. It must match the Idempotency-Key header
when both are provided.
Optional in the API payload; omitted values default to nil. Wire name: idempotency_key.
31 32 33 34 |
# File 'lib/inttegro/refund/request_meta.rb', line 31 class RequestMeta < T::Struct const :idempotency_key, T.nilable(String), default: nil const :response, T.nilable(Inttegro::Request::Response), default: nil end |
#response ⇒ Inttegro::Request::Response? (readonly)
Caller-controlled preferences for computing and representing the successful response.
Optional in the API payload; omitted values default to nil. Wire name: response.
31 32 33 34 |
# File 'lib/inttegro/refund/request_meta.rb', line 31 class RequestMeta < T::Struct const :idempotency_key, T.nilable(String), default: nil const :response, T.nilable(Inttegro::Request::Response), default: nil end |