feat(): added percentage calculations for all cases (#6300)

what:

- adds missing percentage calculations for items and shipping methods
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-02-02 11:39:34 +00:00
1 parent 9fda6a6824
commit abc30517cb
7 files changed
+3711 -1735

No files matched your search

@@ -51,13 +51,13 @@ export interface ComputeActionAdjustmentLine extends Record<string, unknown> {
export interface ComputeActionItemLine extends Record<string, unknown> {
id: string
quantity: number
unit_price: number
subtotal: number
adjustments?: ComputeActionAdjustmentLine[]
}
export interface ComputeActionShippingLine extends Record<string, unknown> {
id: string
unit_price: number
subtotal: number
adjustments?: ComputeActionAdjustmentLine[]
}