/** * 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'; import { RequestedDocumentSpecification } from './RequestedDocumentSpecification.js'; import { ServiceSelection } from './ServiceSelection.js'; /** * The OneClickShipmentRequest model module. * @module shipping_v2/model/OneClickShipmentRequest * @version v2 */ export declare class OneClickShipmentRequest { shipFrom: Address; packages: Package[]; channelDetails: ChannelDetails; labelSpecifications: RequestedDocumentSpecification; serviceSelection: ServiceSelection; /** * Constructs a new OneClickShipmentRequest. * The request schema for the OneClickShipment operation. When the channelType is not Amazon, shipTo is required and when channelType is Amazon shipTo is ignored. * @alias module:shipping_v2/model/OneClickShipmentRequest * @class * @param shipFrom {Address} * @param packages {Package[]} A list of packages to be shipped through a shipping service offering. * @param channelDetails {ChannelDetails} * @param labelSpecifications {RequestedDocumentSpecification} * @param serviceSelection {ServiceSelection} */ constructor(shipFrom: Address, packages: Package[], channelDetails: ChannelDetails, labelSpecifications: RequestedDocumentSpecification, serviceSelection: ServiceSelection); /** * Constructs a OneClickShipmentRequest 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 {OneClickShipmentRequest} obj Optional instance to populate. * @return {OneClickShipmentRequest} The populated OneClickShipmentRequest instance. */ static constructFromObject(data: Object, obj: OneClickShipmentRequest): OneClickShipmentRequest; } //# sourceMappingURL=OneClickShipmentRequest.d.ts.map