Class: Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/b2b_any_offer_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



241
242
243
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 241

def listing_price
  @listing_price
end

#quantity_discount_typeString (readonly)

Returns the value of attribute quantity_discount_type.

Returns:

  • (String)


242
243
244
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 242

def quantity_discount_type
  @quantity_discount_type
end

#quantity_tierInteger (readonly)

Returns the value of attribute quantity_tier.

Returns:

  • (Integer)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }