Class: Inttegro::Product::ShipmentVariant3

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/product/shipment_variant3.rb

Overview

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

#render ⇒ Inttegro::Product::Render? (readonly)

Rendered fulfillment marker.

Optional in the API payload; omitted values default to nil. Wire name: render.

Returns:



31
32
33
34
# File 'lib/inttegro/product/shipment_variant3.rb', line 31

class ShipmentVariant3 < T::Struct
  const :type, Inttegro::Product::ShipmentVariant3Type
  const :render, T.nilable(Inttegro::Product::Render), default: nil
end

#type ⇒ Inttegro::Product::ShipmentVariant3Type (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_variant3.rb', line 31

class ShipmentVariant3 < T::Struct
  const :type, Inttegro::Product::ShipmentVariant3Type
  const :render, T.nilable(Inttegro::Product::Render), default: nil
end