Class: Inttegro::PurchaseIntent::CreateRequestPriceOriginal
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::PurchaseIntent::CreateRequestPriceOriginal
- Defined in:
- lib/inttegro/purchase_intent/create_request_price_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 comparison price ID that belongs to the selected product.
-
#nominal ⇒ Inttegro::Price::PriceParams?
readonly
Inline original price amount.
Instance Attribute Details
#id ⇒ String? (readonly)
App-owned comparison price ID that belongs to the selected product
Optional in the API payload; omitted values default to nil. Wire name: id.
30 31 32 33 |
# File 'lib/inttegro/purchase_intent/create_request_price_original.rb', line 30 class CreateRequestPriceOriginal < T::Struct const :id, T.nilable(String), default: nil const :nominal, T.nilable(Inttegro::Price::PriceParams), default: nil end |
#nominal ⇒ Inttegro::Price::PriceParams? (readonly)
Inline original price amount
Optional in the API payload; omitted values default to nil. Wire name: nominal.
30 31 32 33 |
# File 'lib/inttegro/purchase_intent/create_request_price_original.rb', line 30 class CreateRequestPriceOriginal < T::Struct const :id, T.nilable(String), default: nil const :nominal, T.nilable(Inttegro::Price::PriceParams), default: nil end |