Class: Inttegro::Checkout::OrderLookupResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/checkout/order_lookup_response.rb

Overview

Typed representation of the order lookup response 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::Checkout::Order (readonly)

Current checkout projection. Its existing fields are published unchanged for the initial mobile SDK contract and may be narrowed in a future contract revision.

Required in the API payload. Wire name: order.



25
26
27
# File 'lib/inttegro/checkout/order_lookup_response.rb', line 25

class OrderLookupResponse < T::Struct
  const :order, Inttegro::Checkout::Order
end