@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
15 lines (13 loc) • 786 B
text/typescript
import { Dimensions } from './dimensions';
import { DimensionUnit } from './dimension-unit';
/** @description Basic structure for package dimensions */
export class DimensionDetails {
/** @description This contains information about the dimensions in centimeters. This will always be present on the request */
dimensions_in_centimeters?: Dimensions;
/** @description This contains information about the dimensions in inches. This will always be present on the request */
dimensions_in_inches?: Dimensions;
/** @description This contains information about the dimensions in the source units. This will always be present on the request */
source_dimensions?: Dimensions;
/** @description The source units the customer provided */
source_dimension_unit!: DimensionUnit;
}