@shipengine/connect-carrier-api
Version:
This is the typescript/javascript definitions for carrier api
14 lines (12 loc) • 663 B
text/typescript
import { WeightUnit } from './weight-unit';
/** @description Basic structure for weight */
export class WeightDetails {
/** @description This contains information about the weight in ounces. This will always be present on the request */
weight_in_ounces?: number;
/** @description This contains information about the weight in grams. This will always be present on the request */
weight_in_grams?: number;
/** @description This contains information about the weight in source unit. This will always be present on the request */
source_weight?: number;
/** @description The source units the customer provided */
source_weight_unit!: WeightUnit;
}