module Amazon::Search::Exchange::Marketplace

This module provides functionality for interacting with Amazon Marketplace.

Public Class Methods

geo_types() click to toggle source

Returns an Array of valid geo types, such as:

ship-to, ship-from

# File lib/amazon/search/exchange/marketplace.rb, line 51
def Marketplace.geo_types
  %w[ship-to ship-from]
end
index_types() click to toggle source

Returns an Array of valid index types, such as:

marketplace, zshops

# File lib/amazon/search/exchange/marketplace.rb, line 71
def Marketplace.index_types
  %w[marketplace zshops]
end
keyword_search_types() click to toggle source

Returns an Array of valid keyword search types, such as:

title, titledesc

# File lib/amazon/search/exchange/marketplace.rb, line 43
def Marketplace.keyword_search_types
  %w[title titledesc]
end
sort_types() click to toggle source

Returns an Array of valid sort types, such as:

-startdate, startdate, +startdate, -enddate, enddate, -sku, sku, -quantity, quantity, -price, price, +price, -title, Title

# File lib/amazon/search/exchange/marketplace.rb, line 62
def Marketplace.sort_types
  %w[-startdate startdate +startdate -enddate enddate -sku sku
     -quantity quantity -price price +price -title Title]
end