Class: Inttegro::Product::CustomerSelectedPriceInput
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Product::CustomerSelectedPriceInput
- Defined in:
- lib/inttegro/product/customer_selected_price_input.rb
Overview
Available only to Commerce internal services and Upper private beta organizations and applications.
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
-
#price_id ⇒ String
readonly
Existing customer_selected_amount price belonging to the catalog product.
-
#selected_amount ⇒ Inttegro::Money::AmountParams
readonly
Concrete unit amount selected for this order; it must satisfy the referenced price's currency and range.
Instance Attribute Details
#price_id ⇒ String (readonly)
Existing customer_selected_amount price belonging to the catalog product
Required in the API payload. Wire name: price_id.
32 33 34 35 |
# File 'lib/inttegro/product/customer_selected_price_input.rb', line 32 class CustomerSelectedPriceInput < T::Struct const :price_id, String const :selected_amount, Inttegro::Money::AmountParams end |
#selected_amount ⇒ Inttegro::Money::AmountParams (readonly)
Concrete unit amount selected for this order; it must satisfy the referenced price's currency and range
Required in the API payload. Wire name: selected_amount.
32 33 34 35 |
# File 'lib/inttegro/product/customer_selected_price_input.rb', line 32 class CustomerSelectedPriceInput < T::Struct const :price_id, String const :selected_amount, Inttegro::Money::AmountParams end |