Class: Inttegro::Checkout::OrderCreatedFrom
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::OrderCreatedFrom
- Defined in:
- lib/inttegro/checkout/order_created_from.rb
Overview
Typed representation of the order created from 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
-
#resource_id ⇒ String?
readonly
Value of the
resource_idfield in the Inttegro API payload. -
#resource_type ⇒ String?
readonly
Value of the
resource_typefield in the Inttegro API payload. -
#source ⇒ String?
readonly
Value of the
sourcefield in the Inttegro API payload.
Instance Attribute Details
#resource_id ⇒ String? (readonly)
Value of the resource_id field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: resource_id.
35 36 37 38 39 |
# File 'lib/inttegro/checkout/order_created_from.rb', line 35 class OrderCreatedFrom < T::Struct const :source, T.nilable(String), default: nil const :resource_type, T.nilable(String), default: nil const :resource_id, T.nilable(String), default: nil end |
#resource_type ⇒ String? (readonly)
Value of the resource_type field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: resource_type.
35 36 37 38 39 |
# File 'lib/inttegro/checkout/order_created_from.rb', line 35 class OrderCreatedFrom < T::Struct const :source, T.nilable(String), default: nil const :resource_type, T.nilable(String), default: nil const :resource_id, T.nilable(String), default: nil end |
#source ⇒ String? (readonly)
Value of the source field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: source.
35 36 37 38 39 |
# File 'lib/inttegro/checkout/order_created_from.rb', line 35 class OrderCreatedFrom < T::Struct const :source, T.nilable(String), default: nil const :resource_type, T.nilable(String), default: nil const :resource_id, T.nilable(String), default: nil end |