Class: Inttegro::PurchaseIntent::PriceSelectionOriginal
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::PriceSelectionOriginal
- Defined in:
- lib/inttegro/purchase_intent/price_selection_original.rb
Overview
Optional original price used for comparison display
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
App-owned fixed comparison price ID.
-
#nominal ⇒ Inttegro::PurchaseIntent::PriceSelectionOriginalNominal?
readonly
Inline original price amount.
Instance Attribute Details
#id ⇒ String? (readonly)
App-owned fixed comparison price ID. It must belong to a selected product; for a bundle it must use the bundle catalog currency.
Optional in the API payload; omitted values default to nil. Wire name: id.
31 32 33 34 |
# File 'lib/inttegro/purchase_intent/price_selection_original.rb', line 31 class PriceSelectionOriginal < T::Struct const :id, T.nilable(String), default: nil const :nominal, T.nilable(Inttegro::PurchaseIntent::PriceSelectionOriginalNominal), default: nil end |
#nominal ⇒ Inttegro::PurchaseIntent::PriceSelectionOriginalNominal? (readonly)
Inline original price amount
Optional in the API payload; omitted values default to nil. Wire name: nominal.
31 32 33 34 |
# File 'lib/inttegro/purchase_intent/price_selection_original.rb', line 31 class PriceSelectionOriginal < T::Struct const :id, T.nilable(String), default: nil const :nominal, T.nilable(Inttegro::PurchaseIntent::PriceSelectionOriginalNominal), default: nil end |