Class: Inttegro::Product::ShipmentVariant4
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Product::ShipmentVariant4
- Defined in:
- lib/inttegro/product/shipment_variant4.rb
Overview
Typed representation of the shipment variant4 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
-
#service ⇒ Inttegro::Product::Service?
readonly
Service fulfillment marker.
-
#type ⇒ Inttegro::Product::ShipmentVariant4Type
readonly
Value of the
typefield in the Inttegro API payload.
Instance Attribute Details
#service ⇒ Inttegro::Product::Service? (readonly)
Service fulfillment marker.
Optional in the API payload; omitted values default to nil. Wire name: service.
31 32 33 34 |
# File 'lib/inttegro/product/shipment_variant4.rb', line 31 class ShipmentVariant4 < T::Struct const :type, Inttegro::Product::ShipmentVariant4Type const :service, T.nilable(Inttegro::Product::Service), default: nil end |
#type ⇒ Inttegro::Product::ShipmentVariant4Type (readonly)
Value of the type field in the Inttegro API payload.
Required in the API payload. Wire name: type.
31 32 33 34 |
# File 'lib/inttegro/product/shipment_variant4.rb', line 31 class ShipmentVariant4 < T::Struct const :type, Inttegro::Product::ShipmentVariant4Type const :service, T.nilable(Inttegro::Product::Service), default: nil end |