Class: Inttegro::Refund::RequestMeta

Inherits:
T::Struct
  • Object
show all
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

Instance Attribute Details

#idempotency_key ⇒ String? (readonly)

Body-level compatibility key. Prefer the Idempotency-Key header for new integrations.

Optional in the API payload; omitted values default to nil. Wire name: idempotency_key.

Returns:

  • (String, nil)


23
24
25
# File 'lib/inttegro/refund/request_meta.rb', line 23

class RequestMeta < T::Struct
  const :idempotency_key, T.nilable(String), default: nil
end