Class: Inttegro::Order::CreateNewCustomerRequestMeta

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/create_new_customer_request_meta.rb

Overview

Optional metadata controlling request processing

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)

Unique key to prevent duplicate order creation

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

Returns:

  • (String, nil)


23
24
25
# File 'lib/inttegro/order/create_new_customer_request_meta.rb', line 23

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