Class: Inttegro::Chime::SavedCustomerRecipient

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/chime/saved_customer_recipient.rb

Overview

Typed representation of the saved customer recipient 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)

Value of the customer_id field in the Inttegro API payload.

Required in the API payload. Wire name: customer_id.

Returns:

  • (String)


30
31
32
33
# File 'lib/inttegro/chime/saved_customer_recipient.rb', line 30

class SavedCustomerRecipient < T::Struct
  const :customer_id, String
  const :transport, Inttegro::Chime::Transport
end

#transport ⇒ Inttegro::Chime::Transport (readonly)

Value of the transport field in the Inttegro API payload.

Required in the API payload. Wire name: transport.



30
31
32
33
# File 'lib/inttegro/chime/saved_customer_recipient.rb', line 30

class SavedCustomerRecipient < T::Struct
  const :customer_id, String
  const :transport, Inttegro::Chime::Transport
end