Type Alias: Charge
Charge = {
amount:Decimal;type:"flat"; } | {measure:string;rate:Decimal;type:"per_unit";unitSize:Decimal; } | {amount:Decimal;measure:string;rounding:"ceil"|"floor"|"nearest";type:"package";units:Decimal; } | {measure:string;tiers:GraduatedTier[];type:"graduated"|"volume"; } | {formula:string;type:"expression"; } | {components:Charge[];type:"sum"; }
Defined in: javascript/src/config/types.ts:62