@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
24 lines (22 loc) • 1.77 kB
text/typescript
import { RegulationLevelTypesV2 } from './regulation-level-types';
import { TransportMeanTypes } from './transport-mean-types';
import { CarrierWeight } from '../units/carrier-weight';
/** @description An object containing information specific to the dangerous goods aspects of an individual package. */
export class DangerousGoodsPackageInfo {
/** @description Transportation means through which the dangerous goods are transported */
transport_mean?: TransportMeanTypes;
/** @description Indicates whether the dangerous goods package must be accessible during transit for inspection or handling. true if accessible, false otherwise. */
accessibility?: boolean;
/** @description Specifies if the package is an overpack, meaning it contains one or more packages prepared in accordance with dangerous goods regulations. true if it is an overpack, false otherwise. */
is_overpack?: boolean;
/** @description Indicates whether all dangerous goods in the package are packed in accordance with the same regulations. True if all packed in one, false otherwise. */
all_packed_in_one?: boolean;
/** @description The "Q" value, a calculated value used in certain dangerous goods regulations (e.g., IATA) to determine if a package is compliant with quantity limits in mixed packing scenarios. Can be null if not applicable. */
q_value?: number;
/** @description The type of outer packaging used for the dangerous goods package, typically represented by a UN packaging code (e.g., "4G" for fiberboard box, "1A2" for steel drum). */
outer_packaging_type?: string;
/** @description Regulation level of the dangerous goods */
regulation_level?: RegulationLevelTypesV2;
/** @description The weight of dry ice in the package */
dry_ice?: CarrierWeight;
}