Class: Inttegro::Order::PageEnvelope

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

Overview

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

#page ⇒ Inttegro::Order::Page? (readonly)

Value of the page field in the Inttegro API payload.

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

Returns:



24
25
26
# File 'lib/inttegro/order/page_envelope.rb', line 24

class PageEnvelope < T::Struct
  const :page, T.nilable(Inttegro::Order::Page), default: nil
end