Class: Inttegro::Checkout::SelectAmountRequestVariant2LineItemsItem
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::SelectAmountRequestVariant2LineItemsItem
- Defined in:
- lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb
Overview
Typed representation of the select amount request variant2 line items item 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
-
#id ⇒ String
readonly
Product line-item ID whose amount should be changed.
-
#selected_amount ⇒ Inttegro::Checkout::SelectedAmount
readonly
Value of the
selected_amountfield in the Inttegro API payload.
Instance Attribute Details
#id ⇒ String (readonly)
Product line-item ID whose amount should be changed.
Required in the API payload. Wire name: id.
31 32 33 34 |
# File 'lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb', line 31 class SelectAmountRequestVariant2LineItemsItem < T::Struct const :id, String const :selected_amount, Inttegro::Checkout::SelectedAmount end |
#selected_amount ⇒ Inttegro::Checkout::SelectedAmount (readonly)
Value of the selected_amount field in the Inttegro API payload.
Required in the API payload. Wire name: selected_amount.
31 32 33 34 |
# File 'lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb', line 31 class SelectAmountRequestVariant2LineItemsItem < T::Struct const :id, String const :selected_amount, Inttegro::Checkout::SelectedAmount end |