/**
 * Selling Partner API for Pricing
 * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
 *
 * The version of the OpenAPI document: v0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */ import { Configuration } from './configuration' ; import globalAxios , { AxiosPromise , AxiosInstance } from 'axios' ; import { DUMMY_BASE_URL , assertParamExists , setApiKeyToObject , setBasicAuthToObject , setBearerAuthToObject , setOAuthToObject , setSearchParams , serializeDataIfNeeded , toPathString , createRequestFunction } from './common' ; import { BASE_PATH , COLLECTION_FORMATS , RequestArgs , BaseAPI , RequiredError } from './base' ; export interface export interface ASINIdentifier { type { string } memberof MarketplaceId : string ; type { string } memberof ASIN : string ; } export interface export interface BuyBoxPriceType { type { string } memberof condition : string ; type { OfferCustomerType } memberof offerType ? : OfferCustomerType | 'B2C' | 'B2B' ; type { number } memberof quantityTier ? : number ; type { QuantityDiscountType } memberof quantityDiscountType ? : QuantityDiscountType | 'QUANTITY_DISCOUNT' ; type { MoneyType } memberof LandedPrice : MoneyType ; type { MoneyType } memberof ListingPrice : MoneyType ; type { MoneyType } memberof Shipping : MoneyType ; type { Points } memberof Points ? : Points ; type { string } memberof sellerId ? : string ; } export interface export interface CompetitivePriceType { type { string } memberof CompetitivePriceId : string ; type { PriceType } memberof Price : PriceType ; type { string } memberof condition ? : string ; type { string } memberof subcondition ? : string ; type { OfferCustomerType } memberof offerType ? : OfferCustomerType | 'B2C' | 'B2B' ; type { number } memberof quantityTier ? : number ; type { QuantityDiscountType } memberof quantityDiscountType ? : QuantityDiscountType | 'QUANTITY_DISCOUNT' ; type { string } memberof sellerId ? : string ; type { boolean } memberof belongsToRequester ? : boolean ; } export interface export interface CompetitivePricingType { type { Array < CompetitivePriceType > } memberof CompetitivePrices : Array < CompetitivePriceType > ; type { Array < OfferListingCountType > } memberof NumberOfOfferListings : Array < OfferListingCountType > ; type { MoneyType } memberof TradeInValue ? : MoneyType ; } export enum { string } export enum ConditionType { New = 'New' , Used = 'Used' , Collectible = 'Collectible' , Refurbished = 'Refurbished' , Club = 'Club' } export interface export interface DetailedShippingTimeType { type { number } memberof minimumHours ? : number ; type { number } memberof maximumHours ? : number ; type { string } memberof availableDate ? : string ; type { string } memberof availabilityType ? : DetailedShippingTimeTypeAvailabilityTypeEnum | 'NOW' | 'FUTURE_WITHOUT_DATE' | 'FUTURE_WITH_DATE' ; } export enum { string } export enum DetailedShippingTimeTypeAvailabilityTypeEnum { Now = 'NOW' , FutureWithoutDate = 'FUTURE_WITHOUT_DATE' , FutureWithDate = 'FUTURE_WITH_DATE' } export enum { string } export enum FulfillmentChannelType { Amazon = 'Amazon' , Merchant = 'Merchant' } export interface export interface GetOffersResponse { type { GetOffersResult } memberof payload ? : GetOffersResult ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface GetOffersResult { type { string } memberof MarketplaceID : string ; type { string } memberof ASIN ? : string ; type { string } memberof SKU ? : string ; type { ConditionType } memberof ItemCondition : ConditionType | 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' ; type { string } memberof status : string ; type { ItemIdentifier } memberof Identifier : ItemIdentifier ; type { Summary } memberof Summary : Summary ; type { Array < OfferDetail > } memberof Offers : Array < OfferDetail > ; } export interface export interface GetPricingResponse { type { Array < Price > } memberof payload ? : Array < Price > ; type { Array < Error > } memberof errors ? : Array < Error > ; } export interface export interface IdentifierType { type { ASINIdentifier } memberof MarketplaceASIN : ASINIdentifier ; type { SellerSKUIdentifier } memberof SKUIdentifier ? : SellerSKUIdentifier ; } export interface export interface ItemIdentifier { type { string } memberof MarketplaceId : string ; type { string } memberof ASIN ? : string ; type { string } memberof SellerSKU ? : string ; type { ConditionType } memberof ItemCondition : ConditionType | 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' ; } export interface export interface LowestPriceType { type { string } memberof condition : string ; type { string } memberof fulfillmentChannel : string ; type { OfferCustomerType } memberof offerType ? : OfferCustomerType | 'B2C' | 'B2B' ; type { number } memberof quantityTier ? : number ; type { QuantityDiscountType } memberof quantityDiscountType ? : QuantityDiscountType | 'QUANTITY_DISCOUNT' ; type { MoneyType } memberof LandedPrice : MoneyType ; type { MoneyType } memberof ListingPrice : MoneyType ; type { MoneyType } memberof Shipping : MoneyType ; type { Points } memberof Points ? : Points ; } export interface export interface ModelError { type { string } memberof code : string ; type { string } memberof message : string ; type { string } memberof details ? : string ; } export interface export interface MoneyType { type { string } memberof CurrencyCode ? : string ; type { number } memberof Amount ? : number ; } export interface export interface OfferCountType { type { string } memberof condition ? : string ; type { FulfillmentChannelType } memberof fulfillmentChannel ? : FulfillmentChannelType | 'Amazon' | 'Merchant' ; type { number } memberof OfferCount ? : number ; } export enum { string } export enum OfferCustomerType { B2C = 'B2C' , B2B = 'B2B' } export interface export interface OfferDetail { type { boolean } memberof MyOffer ? : boolean ; type { OfferCustomerType } memberof offerType ? : OfferCustomerType | 'B2C' | 'B2B' ; type { string } memberof SubCondition : string ; type { string } memberof SellerId ? : string ; type { string } memberof ConditionNotes ? : string ; type { SellerFeedbackType } memberof SellerFeedbackRating ? : SellerFeedbackType ; type { DetailedShippingTimeType } memberof ShippingTime : DetailedShippingTimeType ; type { MoneyType } memberof ListingPrice : MoneyType ; type { Array < QuantityDiscountPriceType > } memberof quantityDiscountPrices ? : Array < QuantityDiscountPriceType > ; type { Points } memberof Points ? : Points ; type { MoneyType } memberof Shipping : MoneyType ; type { ShipsFromType } memberof ShipsFrom ? : ShipsFromType ; type { boolean } memberof IsFulfilledByAmazon : boolean ; type { PrimeInformationType } memberof PrimeInformation ? : PrimeInformationType ; type { boolean } memberof IsBuyBoxWinner ? : boolean ; type { boolean } memberof IsFeaturedMerchant ? : boolean ; } export interface export interface OfferListingCountType { type { number } memberof Count : number ; type { string } memberof condition : string ; } export interface export interface OfferType { type { OfferCustomerType } memberof offerType ? : OfferCustomerType | 'B2C' | 'B2B' ; type { PriceType } memberof BuyingPrice : PriceType ; type { MoneyType } memberof RegularPrice : MoneyType ; type { MoneyType } memberof businessPrice ? : MoneyType ; type { Array < QuantityDiscountPriceType > } memberof quantityDiscountPrices ? : Array < QuantityDiscountPriceType > ; type { string } memberof FulfillmentChannel : string ; type { string } memberof ItemCondition : string ; type { string } memberof ItemSubCondition : string ; type { string } memberof SellerSKU : string ; } export interface export interface Points { type { number } memberof PointsNumber ? : number ; type { MoneyType } memberof PointsMonetaryValue ? : MoneyType ; } export interface export interface Price { type { string } memberof status : string ; type { string } memberof SellerSKU ? : string ; type { string } memberof ASIN ? : string ; type { Product } memberof Product ? : Product ; } export interface export interface PriceType { type { MoneyType } memberof LandedPrice ? : MoneyType ; type { MoneyType } memberof ListingPrice : MoneyType ; type { MoneyType } memberof Shipping ? : MoneyType ; type { Points } memberof Points ? : Points ; } export interface export interface PrimeInformationType { type { boolean } memberof IsPrime : boolean ; type { boolean } memberof IsNationalPrime : boolean ; } export interface export interface Product { type { IdentifierType } memberof Identifiers : IdentifierType ; type { Array < object > } memberof AttributeSets ? : Array < object > ; type { Array < object > } memberof Relationships ? : Array < object > ; type { CompetitivePricingType } memberof CompetitivePricing ? : CompetitivePricingType ; type { Array < SalesRankType > } memberof SalesRankings ? : Array < SalesRankType > ; type { Array < OfferType > } memberof Offers ? : Array < OfferType > ; } export interface export interface QuantityDiscountPriceType { type { number } memberof quantityTier : number ; type { QuantityDiscountType } memberof quantityDiscountType : QuantityDiscountType | 'QUANTITY_DISCOUNT' ; type { MoneyType } memberof listingPrice : MoneyType ; } export enum { string } export enum QuantityDiscountType { QuantityDiscount = 'QUANTITY_DISCOUNT' } export interface export interface SalesRankType { type { string } memberof ProductCategoryId : string ; type { number } memberof Rank : number ; } export interface export interface SellerFeedbackType { type { number } memberof SellerPositiveFeedbackRating ? : number ; type { number } memberof FeedbackCount : number ; } export interface export interface SellerSKUIdentifier { type { string } memberof MarketplaceId : string ; type { string } memberof SellerId : string ; type { string } memberof SellerSKU : string ; } export interface export interface ShipsFromType { type { string } memberof State ? : string ; type { string } memberof Country ? : string ; } export interface export interface Summary { type { number } memberof TotalOfferCount : number ; type { Array < OfferCountType > } memberof NumberOfOffers ? : Array < OfferCountType > ; type { Array < LowestPriceType > } memberof LowestPrices ? : Array < LowestPriceType > ; type { Array < BuyBoxPriceType > } memberof BuyBoxPrices ? : Array < BuyBoxPriceType > ; type { MoneyType } memberof ListPrice ? : MoneyType ; type { MoneyType } memberof CompetitivePriceThreshold ? : MoneyType ; type { MoneyType } memberof SuggestedLowerPricePlusShipping ? : MoneyType ; type { Array < SalesRankType > } memberof SalesRankings ? : Array < SalesRankType > ; type { Array < OfferCountType > } memberof BuyBoxEligibleOffers ? : Array < OfferCountType > ; type { string } memberof OffersAvailableTime ? : string ; } export export const ProductPricingApiAxiosParamCreator = function ( configuration ? ) { return { param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'Consumer' | 'Business' } customerType param { * } options throws getCompetitivePricing : async ( marketplaceId , itemType , asins ? , skus ? , customerType ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getCompetitivePricing' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getCompetitivePricing' , 'itemType' , itemType ) ; const localVarPath = `/products/pricing/v0/competitivePrice` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } if ( asins ) { localVarQueryParameter [ 'Asins' ] = asins . join ( COLLECTION_FORMATS . csv ) ; } if ( skus ) { localVarQueryParameter [ 'Skus' ] = skus . join ( COLLECTION_FORMATS . csv ) ; } if ( itemType !== undefined ) { localVarQueryParameter [ 'ItemType' ] = itemType ; } if ( customerType !== undefined ) { localVarQueryParameter [ 'CustomerType' ] = customerType ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } asin param { 'Consumer' | 'Business' } customerType param { * } options throws getItemOffers : async ( marketplaceId , itemCondition , asin , customerType ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getItemOffers' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getItemOffers' , 'itemCondition' , itemCondition ) ; assertParamExists ( 'getItemOffers' , 'asin' , asin ) ; const localVarPath = `/products/pricing/v0/items/{Asin}/offers` . replace ( `{${ "Asin" }}` , encodeURIComponent ( String ( asin ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } if ( itemCondition !== undefined ) { localVarQueryParameter [ 'ItemCondition' ] = itemCondition ; } if ( customerType !== undefined ) { localVarQueryParameter [ 'CustomerType' ] = customerType ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } sellerSKU param { 'Consumer' | 'Business' } customerType param { * } options throws getListingOffers : async ( marketplaceId , itemCondition , sellerSKU , customerType ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getListingOffers' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getListingOffers' , 'itemCondition' , itemCondition ) ; assertParamExists ( 'getListingOffers' , 'sellerSKU' , sellerSKU ) ; const localVarPath = `/products/pricing/v0/listings/{SellerSKU}/offers` . replace ( `{${ "SellerSKU" }}` , encodeURIComponent ( String ( sellerSKU ) ) ) ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } if ( itemCondition !== undefined ) { localVarQueryParameter [ 'ItemCondition' ] = itemCondition ; } if ( customerType !== undefined ) { localVarQueryParameter [ 'CustomerType' ] = customerType ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { 'B2C' | 'B2B' } offerType param { * } options throws getPricing : async ( marketplaceId , itemType , asins ? , skus ? , itemCondition ? , offerType ? , options = { } ) : Promise < RequestArgs > => { assertParamExists ( 'getPricing' , 'marketplaceId' , marketplaceId ) ; assertParamExists ( 'getPricing' , 'itemType' , itemType ) ; const localVarPath = `/products/pricing/v0/price` ; const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( marketplaceId !== undefined ) { localVarQueryParameter [ 'MarketplaceId' ] = marketplaceId ; } if ( asins ) { localVarQueryParameter [ 'Asins' ] = asins . join ( COLLECTION_FORMATS . csv ) ; } if ( skus ) { localVarQueryParameter [ 'Skus' ] = skus . join ( COLLECTION_FORMATS . csv ) ; } if ( itemType !== undefined ) { localVarQueryParameter [ 'ItemType' ] = itemType ; } if ( itemCondition !== undefined ) { localVarQueryParameter [ 'ItemCondition' ] = itemCondition ; } if ( offerType !== undefined ) { localVarQueryParameter [ 'OfferType' ] = offerType ; } setSearchParams ( localVarUrlObj , localVarQueryParameter , options . query ) ; let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... headersFromBaseOptions , ... options . headers } ; return { url : toPathString ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const ProductPricingApiFp = function ( configuration ? ) { const localVarAxiosParamCreator = ProductPricingApiAxiosParamCreator ( configuration ) ; return { param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'Consumer' | 'Business' } customerType param { * } options throws async getCompetitivePricing ( marketplaceId , itemType , asins ? , skus ? , customerType ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getCompetitivePricing ( marketplaceId , itemType , asins , skus , customerType , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } asin param { 'Consumer' | 'Business' } customerType param { * } options throws async getItemOffers ( marketplaceId , itemCondition , asin , customerType ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getItemOffers ( marketplaceId , itemCondition , asin , customerType , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } sellerSKU param { 'Consumer' | 'Business' } customerType param { * } options throws async getListingOffers ( marketplaceId , itemCondition , sellerSKU , customerType ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getListingOffers ( marketplaceId , itemCondition , sellerSKU , customerType , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { 'B2C' | 'B2B' } offerType param { * } options throws async getPricing ( marketplaceId , itemType , asins ? , skus ? , itemCondition ? , offerType ? , options ? ) { const localVarAxiosArgs = await localVarAxiosParamCreator . getPricing ( marketplaceId , itemType , asins , skus , itemCondition , offerType , options ) ; return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ; } , } ; } ; export export const ProductPricingApiFactory = function ( configuration ? , basePath ? , axios ? ) { const localVarFp = ProductPricingApiFp ( configuration ) ; return { param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'Consumer' | 'Business' } customerType param { * } options throws getCompetitivePricing ( marketplaceId , itemType , asins ? , skus ? , customerType ? , options ? ) { return localVarFp . getCompetitivePricing ( marketplaceId , itemType , asins , skus , customerType , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } asin param { 'Consumer' | 'Business' } customerType param { * } options throws getItemOffers ( marketplaceId , itemCondition , asin , customerType ? , options ? ) { return localVarFp . getItemOffers ( marketplaceId , itemCondition , asin , customerType , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { string } sellerSKU param { 'Consumer' | 'Business' } customerType param { * } options throws getListingOffers ( marketplaceId , itemCondition , sellerSKU , customerType ? , options ? ) { return localVarFp . getListingOffers ( marketplaceId , itemCondition , sellerSKU , customerType , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , param { string } marketplaceId param { 'Asin' | 'Sku' } itemType param { Array < string > } asins param { Array < string > } skus param { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } itemCondition param { 'B2C' | 'B2B' } offerType param { * } options throws getPricing ( marketplaceId , itemType , asins ? , skus ? , itemCondition ? , offerType ? , options ? ) { return localVarFp . getPricing ( marketplaceId , itemType , asins , skus , itemCondition , offerType , options ) . then ( ( request ) => request ( axios , basePath ) ) ; } , } ; } ; export interface export interface ProductPricingApiGetCompetitivePricingRequest { type { string } memberof readonly marketplaceId : string ; type { 'Asin' | 'Sku' } memberof readonly itemType : 'Asin' | 'Sku' ; type { Array < string > } memberof readonly asins ? : Array < string > ; type { Array < string > } memberof readonly skus ? : Array < string > ; type { 'Consumer' | 'Business' } memberof readonly customerType ? : 'Consumer' | 'Business' ; } export interface export interface ProductPricingApiGetItemOffersRequest { type { string } memberof readonly marketplaceId : string ; type { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } memberof readonly itemCondition : 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' ; type { string } memberof readonly asin : string ; type { 'Consumer' | 'Business' } memberof readonly customerType ? : 'Consumer' | 'Business' ; } export interface export interface ProductPricingApiGetListingOffersRequest { type { string } memberof readonly marketplaceId : string ; type { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } memberof readonly itemCondition : 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' ; type { string } memberof readonly sellerSKU : string ; type { 'Consumer' | 'Business' } memberof readonly customerType ? : 'Consumer' | 'Business' ; } export interface export interface ProductPricingApiGetPricingRequest { type { string } memberof readonly marketplaceId : string ; type { 'Asin' | 'Sku' } memberof readonly itemType : 'Asin' | 'Sku' ; type { Array < string > } memberof readonly asins ? : Array < string > ; type { Array < string > } memberof readonly skus ? : Array < string > ; type { 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' } memberof readonly itemCondition ? : 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club' ; type { 'B2C' | 'B2B' } memberof readonly offerType ? : 'B2C' | 'B2B' ; } export class extends BaseAPI export class ProductPricingApi extends BaseAPI { param { ProductPricingApiGetCompetitivePricingRequest } requestParameters param { * } options throws memberof public getCompetitivePricing ( requestParameters , options ? ) { return ProductPricingApiFp ( this . configuration ) . getCompetitivePricing ( requestParameters . marketplaceId , requestParameters . itemType , requestParameters . asins , requestParameters . skus , requestParameters . customerType , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { ProductPricingApiGetItemOffersRequest } requestParameters param { * } options throws memberof public getItemOffers ( requestParameters , options ? ) { return ProductPricingApiFp ( this . configuration ) . getItemOffers ( requestParameters . marketplaceId , requestParameters . itemCondition , requestParameters . asin , requestParameters . customerType , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { ProductPricingApiGetListingOffersRequest } requestParameters param { * } options throws memberof public getListingOffers ( requestParameters , options ? ) { return ProductPricingApiFp ( this . configuration ) . getListingOffers ( requestParameters . marketplaceId , requestParameters . itemCondition , requestParameters . sellerSKU , requestParameters . customerType , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } param { ProductPricingApiGetPricingRequest } requestParameters param { * } options throws memberof public getPricing ( requestParameters , options ? ) { return ProductPricingApiFp ( this . configuration ) . getPricing ( requestParameters . marketplaceId , requestParameters . itemType , requestParameters . asins , requestParameters . skus , requestParameters . itemCondition , requestParameters . offerType , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ; } }