feat(): added percentage calculations for all cases (#6300)
what: - adds missing percentage calculations for items and shipping methods
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user