Class: Inttegro::Order::FinalizeEnvelope

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/finalize_envelope.rb

Overview

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

#order ⇒ Inttegro::Order? (readonly)

Complete order record with line items, customer details, payment state, and fulfillment information

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

Returns:



25
26
27
# File 'lib/inttegro/order/finalize_envelope.rb', line 25

class FinalizeEnvelope < T::Struct
  const :order, T.nilable(Inttegro::Order), default: nil
end