Class: Inttegro::Shared::Shipping

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/shared/shipping.rb

Overview

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

#address ⇒ Inttegro::Shared::Address (readonly)

Value of the address field in the Inttegro API payload.

Required in the API payload. Wire name: address.



24
25
26
# File 'lib/inttegro/shared/shipping.rb', line 24

class Shipping < T::Struct
  const :address, Inttegro::Shared::Address
end