Class: Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
- Defined in:
- sig/peddler/notifications/b2b_any_offer_changed.rbs
Instance Attribute Summary collapse
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#quantity_discount_type ⇒ String
readonly
Returns the value of attribute quantity_discount_type.
-
#quantity_tier ⇒ Integer
readonly
Returns the value of attribute quantity_tier.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :listing_price, :quantity_discount_type, :quantity_tier ]
- .new ⇒ Object
- .parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
Instance Method Summary collapse
- #members ⇒ [ :listing_price, :quantity_discount_type, :quantity_tier ]
- #to_h ⇒ { listing_price: Peddler::Money, quantity_discount_type: String, quantity_tier: Integer }
Instance Attribute Details
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
241 242 243 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 241 def listing_price @listing_price end |
#quantity_discount_type ⇒ String (readonly)
Returns the value of attribute quantity_discount_type.
242 243 244 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 242 def quantity_discount_type @quantity_discount_type end |
#quantity_tier ⇒ Integer (readonly)
Returns the value of attribute quantity_tier.
243 244 245 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 243 def quantity_tier @quantity_tier end |
Class Method Details
.[](listing_price:, quantity_discount_type:, quantity_tier:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType .[](arg0, arg1, arg2) ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
234 235 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 234 def self.[]: (listing_price: Peddler::Money, quantity_discount_type: String, quantity_tier: Integer) -> Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType | (Peddler::Money, String, Integer) -> Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType |
.members ⇒ [ :listing_price, :quantity_discount_type, :quantity_tier ]
237 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 237 def self.members: () -> [ :listing_price, :quantity_discount_type, :quantity_tier ] |
.new(listing_price:, quantity_discount_type:, quantity_tier:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType .new(arg0, arg1, arg2) ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
232 233 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 232 def self.new: (listing_price: Peddler::Money, quantity_discount_type: String, quantity_tier: Integer) -> Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType | (Peddler::Money, String, Integer) -> Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType |
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType
239 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 239 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType |
Instance Method Details
#members ⇒ [ :listing_price, :quantity_discount_type, :quantity_tier ]
245 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 245 def members: () -> [ :listing_price, :quantity_discount_type, :quantity_tier ] |
#to_h ⇒ { listing_price: Peddler::Money, quantity_discount_type: String, quantity_tier: Integer }
246 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 246 def to_h: () -> { listing_price: Peddler::Money, quantity_discount_type: String, quantity_tier: Integer } |