Class: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
- Defined in:
- sig/peddler/apis/product_pricing_2022_05_01.rbs
Instance Attribute Summary collapse
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#points ⇒ Peddler::APIs::ProductPricing20220501::Points?
readonly
Returns the value of attribute points.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :listing_price, :points ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
Instance Method Summary collapse
- #members ⇒ [ :listing_price, :points ]
- #to_h ⇒ { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points? }
Instance Attribute Details
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
223 224 225 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 223 def listing_price @listing_price end |
#points ⇒ Peddler::APIs::ProductPricing20220501::Points? (readonly)
Returns the value of attribute points.
224 225 226 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 224 def points @points end |
Class Method Details
.[](listing_price:, points:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
216 217 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 216 def self.[]: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductPricing20220501::Points?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice | (Peddler::Money, Peddler::APIs::ProductPricing20220501::Points?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice |
.members ⇒ [ :listing_price, :points ]
219 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 219 def self.members: () -> [ :listing_price, :points ] |
.new(listing_price:, points:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
214 215 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 214 def self.new: (listing_price: Peddler::Money, ?points: Peddler::APIs::ProductPricing20220501::Points?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice | (Peddler::Money, Peddler::APIs::ProductPricing20220501::Points?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice |
.parse ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice
221 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 221 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPrice |
Instance Method Details
#members ⇒ [ :listing_price, :points ]
226 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 226 def members: () -> [ :listing_price, :points ] |
#to_h ⇒ { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points? }
227 |
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 227 def to_h: () -> { listing_price: Peddler::Money, points: Peddler::APIs::ProductPricing20220501::Points? } |