Class: Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asinString (readonly)

Returns the value of attribute asin.

Returns:

  • (String)


124
125
126
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 124

def asin
  @asin
end

#errorsArray[Peddler::APIs::ProductPricing20220501::Error]? (readonly)

Returns the value of attribute errors.



125
126
127
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 125

def errors
  @errors
end

Returns the value of attribute featured_buying_options.



126
127
128
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 126

def featured_buying_options
  @featured_buying_options
end

#lowest_priced_offersArray[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]? (readonly)

Returns the value of attribute lowest_priced_offers.



127
128
129
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 127

def lowest_priced_offers
  @lowest_priced_offers
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


128
129
130
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 128

def marketplace_id
  @marketplace_id
end

#reference_pricesArray[Peddler::APIs::ProductPricing20220501::ReferencePrice]? (readonly)

Returns the value of attribute reference_prices.



129
130
131
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 129

def reference_prices
  @reference_prices
end

#similar_itemsArray[Peddler::APIs::ProductPricing20220501::SimilarItems]? (readonly)

Returns the value of attribute similar_items.



130
131
132
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 130

def similar_items
  @similar_items
end

Class Method Details

.[](asin:, marketplace_id:, errors:, featured_buying_options:, lowest_priced_offers:, reference_prices:, similar_items:) ⇒ Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

Overloads:



117
118
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 117

def self.[]: (asin: String, marketplace_id: String, ?errors: Array[Peddler::APIs::ProductPricing20220501::Error]?, ?featured_buying_options: Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, ?lowest_priced_offers: Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, ?reference_prices: Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, ?similar_items: Array[Peddler::APIs::ProductPricing20220501::SimilarItems]?) -> Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody
| (String, String, Array[Peddler::APIs::ProductPricing20220501::Error]?, Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, Array[Peddler::APIs::ProductPricing20220501::SimilarItems]?) -> Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

.members[ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ]

Returns:

  • ([ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ])


120
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 120

def self.members: () -> [ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ]

.new(asin:, marketplace_id:, errors:, featured_buying_options:, lowest_priced_offers:, reference_prices:, similar_items:) ⇒ Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

Overloads:



115
116
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 115

def self.new: (asin: String, marketplace_id: String, ?errors: Array[Peddler::APIs::ProductPricing20220501::Error]?, ?featured_buying_options: Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, ?lowest_priced_offers: Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, ?reference_prices: Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, ?similar_items: Array[Peddler::APIs::ProductPricing20220501::SimilarItems]?) -> Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody
| (String, String, Array[Peddler::APIs::ProductPricing20220501::Error]?, Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, Array[Peddler::APIs::ProductPricing20220501::SimilarItems]?) -> Peddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

.parsePeddler::APIs::ProductPricing20220501::CompetitiveSummaryResponseBody

Parameters:

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

Returns:



122
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 122

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

Instance Method Details

#members[ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ]

Returns:

  • ([ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ])


132
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 132

def members: () -> [ :asin, :marketplace_id, :errors, :featured_buying_options, :lowest_priced_offers, :reference_prices, :similar_items ]

#to_h{ asin: String, marketplace_id: String, errors: Array[Peddler::APIs::ProductPricing20220501::Error]?, featured_buying_options: Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, lowest_priced_offers: Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, reference_prices: Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, similar_items: Array[Peddler::APIs::ProductPricing20220501::SimilarItems]? }

Returns:



133
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 133

def to_h: () -> { asin: String, marketplace_id: String, errors: Array[Peddler::APIs::ProductPricing20220501::Error]?, featured_buying_options: Array[Peddler::APIs::ProductPricing20220501::FeaturedBuyingOption]?, lowest_priced_offers: Array[Peddler::APIs::ProductPricing20220501::LowestPricedOffer]?, reference_prices: Array[Peddler::APIs::ProductPricing20220501::ReferencePrice]?, similar_items: Array[Peddler::APIs::ProductPricing20220501::SimilarItems]? }