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

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

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) ⇒ Object



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