Class: Inttegro::Order::CreateExistingCustomerRequestMeta

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/create_existing_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)


30
31
32
33
# File 'lib/inttegro/order/create_existing_customer_request_meta.rb', line 30

class CreateExistingCustomerRequestMeta < 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.

Returns:



30
31
32
33
# File 'lib/inttegro/order/create_existing_customer_request_meta.rb', line 30

class CreateExistingCustomerRequestMeta < T::Struct
  const :idempotency_key, T.nilable(String), default: nil
  const :response, T.nilable(Inttegro::Request::Response), default: nil
end