UNPKG

amazon-pa-api5-node-ts

Version:

ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.

98 lines (97 loc) 3.17 kB
/** * Adapted to TypeScript by David A. Ball. (c) 2024. * * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ import { Condition } from "./Condition.mjs"; import { GetVariationsResource } from "./GetVariationsResource.mjs"; import { Merchant } from "./Merchant.mjs"; import { OfferCount } from "./OfferCount.mjs"; import { PartnerType } from "./PartnerType.mjs"; import { Properties } from "./Properties.mjs"; /** * The GetVariationsRequest model module. * @module model/GetVariationsRequest * @version 1.0.0 */ /** * Constructs a new <code>GetVariationsRequest</code>. * @alias module:model/GetVariationsRequest * @class * @param ASIN {String} * @param partnerTag {String} * @param partnerType {module:model/PartnerType} */ export declare class GetVariationsRequest { /** * @member {String} ASIN */ ASIN?: string; /** * @member {module:model/Condition} Condition */ Condition?: Condition; /** * @member {String} CurrencyOfPreference */ CurrencyOfPreference?: string; /** * @member {Array.<String>} LanguagesOfPreference */ LanguagesOfPreference?: string[]; /** * @member {String} Marketplace */ Marketplace?: string; /** * @member {module:model/Merchant} Merchant */ Merchant?: Merchant; /** * @member {module:model/OfferCount} OfferCount */ OfferCount?: OfferCount; /** * @member {String} PartnerTag */ PartnerTag?: string; /** * @member {module:model/PartnerType} PartnerType */ PartnerType?: PartnerType; /** * @member {module:model/Properties} Properties */ Properties?: Properties; /** * @member {Array.<module:model/GetVariationsResource>} Resources */ Resources?: GetVariationsResource[] | string[]; /** * @member {Number} VariationCount */ VariationCount?: number; /** * @member {Number} VariationPage */ VariationPage?: number; /** * Constructs a <code>GetVariationsRequest</code> from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/GetVariationsRequest} obj Optional instance to populate. * @return {module:model/GetVariationsRequest} The populated <code>GetVariationsRequest</code> instance. */ static constructFromObject(data: any, obj?: GetVariationsRequest): GetVariationsRequest | undefined; }