Class: Peddler::Notifications::PricingHealth::BuyBoxPrice

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/pricing_health.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)


14
15
16
# File 'sig/peddler/notifications/pricing_health.rbs', line 14

def condition
  @condition
end

#landed_pricePeddler::Money (readonly)

Returns the value of attribute landed_price.

Returns:



15
16
17
# File 'sig/peddler/notifications/pricing_health.rbs', line 15

def landed_price
  @landed_price
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



16
17
18
# File 'sig/peddler/notifications/pricing_health.rbs', line 16

def listing_price
  @listing_price
end

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

Returns the value of attribute points.



17
18
19
# File 'sig/peddler/notifications/pricing_health.rbs', line 17

def points
  @points
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



18
19
20
# File 'sig/peddler/notifications/pricing_health.rbs', line 18

def shipping
  @shipping
end

Class Method Details

.[](condition:, landed_price:, listing_price:, shipping:, points:) ⇒ Peddler::Notifications::PricingHealth::BuyBoxPrice .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::BuyBoxPrice

Overloads:



7
8
# File 'sig/peddler/notifications/pricing_health.rbs', line 7

def self.[]: (condition: String, landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, ?points: Peddler::Notifications::PricingHealth::Points?) -> Peddler::Notifications::PricingHealth::BuyBoxPrice
| (String, Peddler::Money, Peddler::Money, Peddler::Money, Peddler::Notifications::PricingHealth::Points?) -> Peddler::Notifications::PricingHealth::BuyBoxPrice

.members[ :condition, :landed_price, :listing_price, :shipping, :points ]

Returns:

  • ([ :condition, :landed_price, :listing_price, :shipping, :points ])


10
# File 'sig/peddler/notifications/pricing_health.rbs', line 10

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

.new(condition:, landed_price:, listing_price:, shipping:, points:) ⇒ Peddler::Notifications::PricingHealth::BuyBoxPrice .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::BuyBoxPrice

Overloads:



5
6
# File 'sig/peddler/notifications/pricing_health.rbs', line 5

def self.new: (condition: String, landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, ?points: Peddler::Notifications::PricingHealth::Points?) -> Peddler::Notifications::PricingHealth::BuyBoxPrice
| (String, Peddler::Money, Peddler::Money, Peddler::Money, Peddler::Notifications::PricingHealth::Points?) -> Peddler::Notifications::PricingHealth::BuyBoxPrice

.parsePeddler::Notifications::PricingHealth::BuyBoxPrice

Parameters:

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

Returns:



12
# File 'sig/peddler/notifications/pricing_health.rbs', line 12

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

Instance Method Details

#members[ :condition, :landed_price, :listing_price, :shipping, :points ]

Returns:

  • ([ :condition, :landed_price, :listing_price, :shipping, :points ])


20
# File 'sig/peddler/notifications/pricing_health.rbs', line 20

def members: () -> [ :condition, :landed_price, :listing_price, :shipping, :points ]

#to_h{ condition: String, landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, points: Peddler::Notifications::PricingHealth::Points? }

Returns:



21
# File 'sig/peddler/notifications/pricing_health.rbs', line 21

def to_h: () -> { condition: String, landed_price: Peddler::Money, listing_price: Peddler::Money, shipping: Peddler::Money, points: Peddler::Notifications::PricingHealth::Points? }