Class: Inttegro::Order::Envelope

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

Overview

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

Required in the API payload. Wire name: order.

Returns:



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

class Envelope < T::Struct
  const :order, Inttegro::Order
end