Class: Inttegro::PurchaseIntent::UsageOrder
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::UsageOrder
- Defined in:
- lib/inttegro/purchase_intent/usage_order.rb
Overview
Typed representation of the usage order 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
-
#created_at ⇒ Time
readonly
When order creation consumed the single-use Buy link.
-
#id ⇒ String
readonly
Order that consumed the Buy link.
Instance Attribute Details
#created_at ⇒ Time (readonly)
When order creation consumed the single-use Buy link
Required in the API payload. Wire name: created_at.
29 30 31 32 |
# File 'lib/inttegro/purchase_intent/usage_order.rb', line 29 class UsageOrder < T::Struct const :created_at, Time const :id, String end |
#id ⇒ String (readonly)
Order that consumed the Buy link
Required in the API payload. Wire name: id.
29 30 31 32 |
# File 'lib/inttegro/purchase_intent/usage_order.rb', line 29 class UsageOrder < T::Struct const :created_at, Time const :id, String end |