@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
23 lines (21 loc) • 987 B
text/typescript
import { Identifier } from '../identifier';
import { DimensionDetails } from '../units/dimension-details';
import { WeightDetails } from '../units/weight-details';
import { Dimensions } from '../units/dimensions';
/** @description Basic structure for a package to be picked up */
export class PickupPackage {
/** @description The carrier tracking number for this shipment */
tracking_number?: string;
/** @description Alternative identifiers associated with this package */
alternative_identifiers?: Identifier[];
/** @description Details about the dimensions of the package */
dimension_details?: DimensionDetails;
/** @description Details about the weight of the package */
weight_details?: WeightDetails;
/** @description The code associated with the package type */
package_code?: string;
/** @deprectated Please use the weight_details property */
weight?: number;
/** @deprectated Please use the dimension_details property */
dimensions?: Dimensions;
}