/** * Amazon Shipping API * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments. * * The version of the OpenAPI document: v2 * Contact: swa-api-core@amazon.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { Address } from './Address.js'; import { ChannelDetails } from './ChannelDetails.js'; import { Package } from './Package.js'; /** * The GetRatesRequest model module. * @module shipping_v2/model/GetRatesRequest * @version v2 */ export declare class GetRatesRequest { shipFrom: Address; packages: Package[]; channelDetails: ChannelDetails; /** * Constructs a new GetRatesRequest. * The request schema for the getRates operation. When the channelType is Amazon, the shipTo address is not required and will be ignored. * @alias module:shipping_v2/model/GetRatesRequest * @class * @param shipFrom {Address} * @param packages {Package[]} A list of packages to be shipped through a shipping service offering. * @param channelDetails {ChannelDetails} */ constructor(shipFrom: Address, packages: Package[], channelDetails: ChannelDetails); /** * Constructs a GetRatesRequest from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {GetRatesRequest} obj Optional instance to populate. * @return {GetRatesRequest} The populated GetRatesRequest instance. */ static constructFromObject(data: Object, obj: GetRatesRequest): GetRatesRequest; } //# sourceMappingURL=GetRatesRequest.d.ts.map