Class: Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

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

#conditionString (readonly)

Returns the value of attribute condition.

Returns:

  • (String)


57
58
59
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 57

def condition
  @condition
end

#discount_typeString? (readonly)

Returns the value of attribute discount_type.

Returns:

  • (String, nil)


58
59
60
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 58

def discount_type
  @discount_type
end

#fulfillment_channelString (readonly)

Returns the value of attribute fulfillment_channel.

Returns:

  • (String)


59
60
61
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 59

def fulfillment_channel
  @fulfillment_channel
end

#landed_pricePeddler::Money? (readonly)

Returns the value of attribute landed_price.

Returns:



60
61
62
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 60

def landed_price
  @landed_price
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



61
62
63
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 61

def listing_price
  @listing_price
end

#offer_typeString (readonly)

Returns the value of attribute offer_type.

Returns:

  • (String)


62
63
64
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 62

def offer_type
  @offer_type
end

#pointsPeddler::Notifications::B2BAnyOfferChanged::Points? (readonly)

Returns the value of attribute points.



63
64
65
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 63

def points
  @points
end

#quantity_tierString (readonly)

Returns the value of attribute quantity_tier.

Returns:

  • (String)


64
65
66
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 64

def quantity_tier
  @quantity_tier
end

#shippingPeddler::Money? (readonly)

Returns the value of attribute shipping.

Returns:



65
66
67
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 65

def shipping
  @shipping
end

Class Method Details

.[](condition:, fulfillment_channel:, listing_price:, offer_type:, quantity_tier:, discount_type:, landed_price:, points:, shipping:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::LowestPrice .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

Overloads:



50
51
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 50

def self.[]: (condition: String, fulfillment_channel: String, listing_price: Peddler::Money, offer_type: String, quantity_tier: String, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
| (String, String, Peddler::Money, String, String, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

.members[ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]

Returns:

  • ([ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ])


53
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 53

def self.members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]

.new(condition:, fulfillment_channel:, listing_price:, offer_type:, quantity_tier:, discount_type:, landed_price:, points:, shipping:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::LowestPrice .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

Overloads:



48
49
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 48

def self.new: (condition: String, fulfillment_channel: String, listing_price: Peddler::Money, offer_type: String, quantity_tier: String, ?discount_type: String?, ?landed_price: Peddler::Money?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?shipping: Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice
| (String, String, Peddler::Money, String, String, String?, Peddler::Money?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Money?) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

.parsePeddler::Notifications::B2BAnyOfferChanged::LowestPrice

Parameters:

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

Returns:



55
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 55

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::LowestPrice

Instance Method Details

#members[ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]

Returns:

  • ([ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ])


67
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 67

def members: () -> [ :condition, :fulfillment_channel, :listing_price, :offer_type, :quantity_tier, :discount_type, :landed_price, :points, :shipping ]

#to_h{ condition: String, fulfillment_channel: String, listing_price: Peddler::Money, offer_type: String, quantity_tier: String, discount_type: String?, landed_price: Peddler::Money?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, shipping: Peddler::Money? }

Returns:



68
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 68

def to_h: () -> { condition: String, fulfillment_channel: String, listing_price: Peddler::Money, offer_type: String, quantity_tier: String, discount_type: String?, landed_price: Peddler::Money?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, shipping: Peddler::Money? }