fix(promotion, types): non discountable items check (#12644)
* fix(promotions): check if item is discountable * fix: return earl yonly if non discountable * fix: update test * chore: add integration test
This commit is contained in:
1 parent
6be5750fe8
commit
bd6d9777c5
5 files changed
+175
-1
No files matched your search
@@ -180,6 +180,11 @@ export interface ComputeActionItemLine extends Record<string, unknown> {
|
||||
*/
|
||||
subtotal: BigNumberInput
|
||||
|
||||
/**
|
||||
* Whether the line item is discountable.
|
||||
*/
|
||||
is_discountable: boolean
|
||||
|
||||
/**
|
||||
* The adjustments applied before on the line item.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user