Class: Inttegro::Customer::LookupRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/customer/lookup_request.rb

Overview

Typed representation of the lookup request 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

#customer_id ⇒ String (readonly)

The customer identifier (with or without cu_ prefix)

Required in the API payload. Wire name: customer_id.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/customer/lookup_request.rb', line 23

class LookupRequest < T::Struct
  const :customer_id, String
end