Class: Inttegro::Checkout::PurchaseIntentSelectAmountRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Checkout::PurchaseIntentSelectAmountRequest
- Defined in:
- lib/inttegro/checkout/purchase_intent_select_amount_request.rb
Overview
Typed representation of the purchase intent 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
-
#purchase_intent_id ⇒ String
readonly
Purchase Intent used to create a new Checkout Order.
-
#selected_amount ⇒ Inttegro::Checkout::SelectedAmount
readonly
Value of the
selected_amountfield in the Inttegro API payload.
Instance Attribute Details
#purchase_intent_id ⇒ String (readonly)
Purchase Intent used to create a new Checkout Order.
Required in the API payload. Wire name: purchase_intent_id.
31 32 33 34 |
# File 'lib/inttegro/checkout/purchase_intent_select_amount_request.rb', line 31 class PurchaseIntentSelectAmountRequest < T::Struct const :purchase_intent_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/purchase_intent_select_amount_request.rb', line 31 class PurchaseIntentSelectAmountRequest < T::Struct const :purchase_intent_id, String const :selected_amount, Inttegro::Checkout::SelectedAmount end |