Class: Peddler::Notifications::PricingHealth::MerchantOffer

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)


34
35
36
# File 'sig/peddler/notifications/pricing_health.rbs', line 34

def condition
  @condition
end

#fulfillment_typeString (readonly)

Returns the value of attribute fulfillment_type.

Returns:

  • (String)


35
36
37
# File 'sig/peddler/notifications/pricing_health.rbs', line 35

def fulfillment_type
  @fulfillment_type
end

#landed_pricePeddler::Money (readonly)

Returns the value of attribute landed_price.

Returns:



36
37
38
# File 'sig/peddler/notifications/pricing_health.rbs', line 36

def landed_price
  @landed_price
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



37
38
39
# File 'sig/peddler/notifications/pricing_health.rbs', line 37

def listing_price
  @listing_price
end

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

Returns the value of attribute points.



38
39
40
# File 'sig/peddler/notifications/pricing_health.rbs', line 38

def points
  @points
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



39
40
41
# File 'sig/peddler/notifications/pricing_health.rbs', line 39

def shipping
  @shipping
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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

.parsePeddler::Notifications::PricingHealth::MerchantOffer

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:



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

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