/** * 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 { PackageDocumentDetail } from './PackageDocumentDetail.js'; import { Promise } from './Promise.js'; /** * The PurchaseShipmentResult model module. * @module shipping_v2/model/PurchaseShipmentResult * @version v2 */ export declare class PurchaseShipmentResult { shipmentId: string; packageDocumentDetails: PackageDocumentDetail[]; promise: Promise; /** * Constructs a new PurchaseShipmentResult. * The payload for the purchaseShipment operation. * @alias module:shipping_v2/model/PurchaseShipmentResult * @class * @param shipmentId {String} The unique shipment identifier provided by a shipping service. * @param packageDocumentDetails {PackageDocumentDetail[]} A list of post-purchase details about a package that will be shipped using a shipping service. * @param promise {Promise} */ constructor(shipmentId: string, packageDocumentDetails: PackageDocumentDetail[], promise: Promise); /** * Constructs a PurchaseShipmentResult 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 {PurchaseShipmentResult} obj Optional instance to populate. * @return {PurchaseShipmentResult} The populated PurchaseShipmentResult instance. */ static constructFromObject(data: Object, obj: PurchaseShipmentResult): PurchaseShipmentResult; } //# sourceMappingURL=PurchaseShipmentResult.d.ts.map