Class: Peddler::APIs::ProductPricingV0::Summary

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_pricing_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#buy_box_eligible_offersArray[Peddler::APIs::ProductPricingV0::OfferCountType]? (readonly)

Returns the value of attribute buy_box_eligible_offers.



882
883
884
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 882

def buy_box_eligible_offers
  @buy_box_eligible_offers
end

#buy_box_pricesArray[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]? (readonly)

Returns the value of attribute buy_box_prices.



883
884
885
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 883

def buy_box_prices
  @buy_box_prices
end

#competitive_price_thresholdPeddler::Money? (readonly)

Returns the value of attribute competitive_price_threshold.

Returns:



884
885
886
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 884

def competitive_price_threshold
  @competitive_price_threshold
end

#list_pricePeddler::Money? (readonly)

Returns the value of attribute list_price.

Returns:



885
886
887
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 885

def list_price
  @list_price
end

#lowest_pricesArray[Peddler::APIs::ProductPricingV0::LowestPriceType]? (readonly)

Returns the value of attribute lowest_prices.



886
887
888
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 886

def lowest_prices
  @lowest_prices
end

#number_of_offersArray[Peddler::APIs::ProductPricingV0::OfferCountType]? (readonly)

Returns the value of attribute number_of_offers.



887
888
889
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 887

def number_of_offers
  @number_of_offers
end

#offers_available_timeTime? (readonly)

Returns the value of attribute offers_available_time.

Returns:

  • (Time, nil)


888
889
890
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 888

def offers_available_time
  @offers_available_time
end

#sales_rankingsArray[Peddler::APIs::ProductPricingV0::SalesRankType]? (readonly)

Returns the value of attribute sales_rankings.



889
890
891
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 889

def sales_rankings
  @sales_rankings
end

#suggested_lower_price_plus_shippingPeddler::Money? (readonly)

Returns the value of attribute suggested_lower_price_plus_shipping.

Returns:



890
891
892
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 890

def suggested_lower_price_plus_shipping
  @suggested_lower_price_plus_shipping
end

#total_offer_countInteger (readonly)

Returns the value of attribute total_offer_count.

Returns:

  • (Integer)


891
892
893
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 891

def total_offer_count
  @total_offer_count
end

Class Method Details

.[](total_offer_count:, buy_box_eligible_offers:, buy_box_prices:, competitive_price_threshold:, list_price:, lowest_prices:, number_of_offers:, offers_available_time:, sales_rankings:, suggested_lower_price_plus_shipping:) ⇒ Peddler::APIs::ProductPricingV0::Summary .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::ProductPricingV0::Summary

Overloads:



875
876
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 875

def self.[]: (total_offer_count: Integer, ?buy_box_eligible_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, ?buy_box_prices: Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, ?competitive_price_threshold: Peddler::Money?, ?list_price: Peddler::Money?, ?lowest_prices: Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, ?number_of_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, ?offers_available_time: Time?, ?sales_rankings: Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, ?suggested_lower_price_plus_shipping: Peddler::Money?) -> Peddler::APIs::ProductPricingV0::Summary
| (Integer, Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, Peddler::Money?, Peddler::Money?, Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, Time?, Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, Peddler::Money?) -> Peddler::APIs::ProductPricingV0::Summary

.members[ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ]

Returns:

  • ([ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ])


878
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 878

def self.members: () -> [ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ]

.new(total_offer_count:, buy_box_eligible_offers:, buy_box_prices:, competitive_price_threshold:, list_price:, lowest_prices:, number_of_offers:, offers_available_time:, sales_rankings:, suggested_lower_price_plus_shipping:) ⇒ Peddler::APIs::ProductPricingV0::Summary .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) ⇒ Peddler::APIs::ProductPricingV0::Summary

Overloads:



873
874
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 873

def self.new: (total_offer_count: Integer, ?buy_box_eligible_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, ?buy_box_prices: Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, ?competitive_price_threshold: Peddler::Money?, ?list_price: Peddler::Money?, ?lowest_prices: Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, ?number_of_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, ?offers_available_time: Time?, ?sales_rankings: Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, ?suggested_lower_price_plus_shipping: Peddler::Money?) -> Peddler::APIs::ProductPricingV0::Summary
| (Integer, Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, Peddler::Money?, Peddler::Money?, Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, Time?, Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, Peddler::Money?) -> Peddler::APIs::ProductPricingV0::Summary

.parsePeddler::APIs::ProductPricingV0::Summary

Parameters:

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

Returns:



880
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 880

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

Instance Method Details

#members[ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ]

Returns:

  • ([ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ])


893
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 893

def members: () -> [ :total_offer_count, :buy_box_eligible_offers, :buy_box_prices, :competitive_price_threshold, :list_price, :lowest_prices, :number_of_offers, :offers_available_time, :sales_rankings, :suggested_lower_price_plus_shipping ]

#to_h{ total_offer_count: Integer, buy_box_eligible_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, buy_box_prices: Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, lowest_prices: Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, number_of_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, offers_available_time: Time?, sales_rankings: Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, suggested_lower_price_plus_shipping: Peddler::Money? }

Returns:



894
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 894

def to_h: () -> { total_offer_count: Integer, buy_box_eligible_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, buy_box_prices: Array[Peddler::APIs::ProductPricingV0::BuyBoxPriceType]?, competitive_price_threshold: Peddler::Money?, list_price: Peddler::Money?, lowest_prices: Array[Peddler::APIs::ProductPricingV0::LowestPriceType]?, number_of_offers: Array[Peddler::APIs::ProductPricingV0::OfferCountType]?, offers_available_time: Time?, sales_rankings: Array[Peddler::APIs::ProductPricingV0::SalesRankType]?, suggested_lower_price_plus_shipping: Peddler::Money? }