Class: Peddler::Notifications::PricingHealth::MerchantOffer
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::PricingHealth::MerchantOffer
- Defined in:
- sig/peddler/notifications/pricing_health.rbs
Instance Attribute Summary collapse
-
#condition ⇒ String
readonly
Returns the value of attribute condition.
-
#fulfillment_type ⇒ String
readonly
Returns the value of attribute fulfillment_type.
-
#landed_price ⇒ Peddler::Money
readonly
Returns the value of attribute landed_price.
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#points ⇒ Peddler::Notifications::PricingHealth::Points?
readonly
Returns the value of attribute points.
-
#shipping ⇒ Peddler::Money
readonly
Returns the value of attribute shipping.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :condition, :fulfillment_type, :landed_price, :listing_price, :shipping, :points ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::PricingHealth::MerchantOffer
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#condition ⇒ String (readonly)
Returns the value of attribute condition.
34 35 36 |
# File 'sig/peddler/notifications/pricing_health.rbs', line 34 def condition @condition end |
#fulfillment_type ⇒ String (readonly)
Returns the value of attribute fulfillment_type.
35 36 37 |
# File 'sig/peddler/notifications/pricing_health.rbs', line 35 def fulfillment_type @fulfillment_type end |
#landed_price ⇒ Peddler::Money (readonly)
Returns the value of attribute landed_price.
36 37 38 |
# File 'sig/peddler/notifications/pricing_health.rbs', line 36 def landed_price @landed_price end |
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
37 38 39 |
# File 'sig/peddler/notifications/pricing_health.rbs', line 37 def listing_price @listing_price end |
#points ⇒ Peddler::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 |
#shipping ⇒ Peddler::Money (readonly)
Returns the value of attribute shipping.
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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::PricingHealth::MerchantOffer
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 ]
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? }
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? }
|