/** * Selling Partner API for Retail Procurement Shipments * The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { PartyIdentification } from './PartyIdentification.js'; /** * The Shipment model module. * @module vendorshipments_v1/model/Shipment * @version v1 */ export declare class Shipment { vendorShipmentIdentifier: string; transactionType: string; transactionDate: Date; sellingParty: PartyIdentification; shipFromParty: PartyIdentification; shipToParty: PartyIdentification; /** * Constructs a new Shipment. * A list of one or more shipments with respective details. * @alias module:vendorshipments_v1/model/Shipment * @class * @param vendorShipmentIdentifier {String} Unique Transportation ID created by Vendor (Should not be used over the last 365 days). * @param transactionType {String} Indicates the type of transportation request (for example, `New` or `Cancel`). Each `transactionType` has a unique set of operations and there are corresponding details to be populated for each operation. * @param transactionDate {Date} Date on which the transportation request was submitted. * @param sellingParty {PartyIdentification} * @param shipFromParty {PartyIdentification} * @param shipToParty {PartyIdentification} */ constructor(vendorShipmentIdentifier: string, transactionType: string, transactionDate: Date, sellingParty: PartyIdentification, shipFromParty: PartyIdentification, shipToParty: PartyIdentification); /** * Constructs a Shipment 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 {Shipment} obj Optional instance to populate. * @return {Shipment} The populated Shipment instance. */ static constructFromObject(data: Object, obj: Shipment): Shipment; } export declare namespace Shipment { var TransactionTypeEnum: { /** * value: "New" * @const */ New: string; /** * value: "Cancel" * @const */ Cancel: string; }; var CurrentShipmentStatusEnum: { /** * value: "Created" * @const */ Created: string; /** * value: "TransportationRequested" * @const */ TransportationRequested: string; /** * value: "CarrierAssigned" * @const */ CarrierAssigned: string; /** * value: "Shipped" * @const */ Shipped: string; }; var ShipmentFreightTermEnum: { /** * value: "Collect" * @const */ Collect: string; /** * value: "Prepaid" * @const */ Prepaid: string; }; } //# sourceMappingURL=Shipment.d.ts.map