Class: Inttegro::Checkout::OrderSelectAmountRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::OrderSelectAmountRequest
- Defined in:
- lib/inttegro/checkout/order_select_amount_request.rb
Overview
Typed representation of the order select amount request 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
-
#line_items ⇒ Array<Inttegro::Checkout::OrderLineItemAmountSelection>
readonly
Customer-selected amounts keyed by the Order line-item IDs returned by checkout lookup.
-
#order_id ⇒ String
readonly
Existing finalized Order whose amount should be changed before payment begins.
Instance Attribute Details
#line_items ⇒ Array<Inttegro::Checkout::OrderLineItemAmountSelection> (readonly)
Customer-selected amounts keyed by the Order line-item IDs returned by checkout lookup.
Required in the API payload. Wire name: line_items.
30 31 32 33 |
# File 'lib/inttegro/checkout/order_select_amount_request.rb', line 30 class OrderSelectAmountRequest < T::Struct const :order_id, String const :line_items, T::Array[Inttegro::Checkout::OrderLineItemAmountSelection] end |
#order_id ⇒ String (readonly)
Existing finalized Order whose amount should be changed before payment begins.
Required in the API payload. Wire name: order_id.
30 31 32 33 |
# File 'lib/inttegro/checkout/order_select_amount_request.rb', line 30 class OrderSelectAmountRequest < T::Struct const :order_id, String const :line_items, T::Array[Inttegro::Checkout::OrderLineItemAmountSelection] end |