Class: Peddler::APIs::ProductPricingV0::BuyBoxEligibleOffers

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/apis/product_pricing_v0/buy_box_eligible_offers.rb,
sig/peddler/apis/product_pricing_v0.rbs

Overview

A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ BuyBoxEligibleOffers

Parameters:

  • (Array[untyped])

Returns:



12
13
14
# File 'lib/peddler/apis/product_pricing_v0/buy_box_eligible_offers.rb', line 12

def parse(array)
  new(array.map { |item| OfferCountType.parse(item) })
end