Class: Peddler::Notifications::PricingHealth::Summary

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

#buy_box_eligible_offersArray[Peddler::Notifications::PricingHealth::OfferCount] (readonly)

Returns the value of attribute buy_box_eligible_offers.



204
205
206
# File 'sig/peddler/notifications/pricing_health.rbs', line 204

def buy_box_eligible_offers
  @buy_box_eligible_offers
end

#buy_box_pricesArray[Peddler::Notifications::PricingHealth::BuyBoxPrice]? (readonly)

Returns the value of attribute buy_box_prices.



205
206
207
# File 'sig/peddler/notifications/pricing_health.rbs', line 205

def buy_box_prices
  @buy_box_prices
end

#number_of_offersArray[Peddler::Notifications::PricingHealth::OfferCount] (readonly)

Returns the value of attribute number_of_offers.



206
207
208
# File 'sig/peddler/notifications/pricing_health.rbs', line 206

def number_of_offers
  @number_of_offers
end

#reference_pricePeddler::Notifications::PricingHealth::ReferencePrice (readonly)

Returns the value of attribute reference_price.



207
208
209
# File 'sig/peddler/notifications/pricing_health.rbs', line 207

def reference_price
  @reference_price
end

#sales_rankingsArray[Peddler::Notifications::PricingHealth::SalesRank]? (readonly)

Returns the value of attribute sales_rankings.



208
209
210
# File 'sig/peddler/notifications/pricing_health.rbs', line 208

def sales_rankings
  @sales_rankings
end

Class Method Details

.[](buy_box_eligible_offers:, number_of_offers:, reference_price:, buy_box_prices:, sales_rankings:) ⇒ Peddler::Notifications::PricingHealth::Summary .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::Summary



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

def self.[]: (buy_box_eligible_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], number_of_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], reference_price: Peddler::Notifications::PricingHealth::ReferencePrice, ?buy_box_prices: Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, ?sales_rankings: Array[Peddler::Notifications::PricingHealth::SalesRank]?) -> Peddler::Notifications::PricingHealth::Summary
| (Array[Peddler::Notifications::PricingHealth::OfferCount], Array[Peddler::Notifications::PricingHealth::OfferCount], Peddler::Notifications::PricingHealth::ReferencePrice, Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, Array[Peddler::Notifications::PricingHealth::SalesRank]?) -> Peddler::Notifications::PricingHealth::Summary

.members[ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ]

Returns:

  • ([ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ])


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

def self.members: () -> [ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ]

.new(buy_box_eligible_offers:, number_of_offers:, reference_price:, buy_box_prices:, sales_rankings:) ⇒ Peddler::Notifications::PricingHealth::Summary .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::PricingHealth::Summary



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

def self.new: (buy_box_eligible_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], number_of_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], reference_price: Peddler::Notifications::PricingHealth::ReferencePrice, ?buy_box_prices: Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, ?sales_rankings: Array[Peddler::Notifications::PricingHealth::SalesRank]?) -> Peddler::Notifications::PricingHealth::Summary
| (Array[Peddler::Notifications::PricingHealth::OfferCount], Array[Peddler::Notifications::PricingHealth::OfferCount], Peddler::Notifications::PricingHealth::ReferencePrice, Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, Array[Peddler::Notifications::PricingHealth::SalesRank]?) -> Peddler::Notifications::PricingHealth::Summary

.parsePeddler::Notifications::PricingHealth::Summary

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ]

Returns:

  • ([ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ])


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

def members: () -> [ :buy_box_eligible_offers, :number_of_offers, :reference_price, :buy_box_prices, :sales_rankings ]

#to_h{ buy_box_eligible_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], number_of_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], reference_price: Peddler::Notifications::PricingHealth::ReferencePrice, buy_box_prices: Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, sales_rankings: Array[Peddler::Notifications::PricingHealth::SalesRank]? }



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

def to_h: () -> { buy_box_eligible_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], number_of_offers: Array[Peddler::Notifications::PricingHealth::OfferCount], reference_price: Peddler::Notifications::PricingHealth::ReferencePrice, buy_box_prices: Array[Peddler::Notifications::PricingHealth::BuyBoxPrice]?, sales_rankings: Array[Peddler::Notifications::PricingHealth::SalesRank]? }