@bigcommerce/checkout-sdk 1.600.1 → 1.600.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,9 +60,18 @@ declare interface Cart {
|
|
|
60
60
|
email: string;
|
|
61
61
|
isTaxIncluded: boolean;
|
|
62
62
|
baseAmount: number;
|
|
63
|
+
/**
|
|
64
|
+
* This is the total amount of discount applied on line_items.
|
|
65
|
+
*/
|
|
63
66
|
discountAmount: number;
|
|
64
67
|
cartAmount: number;
|
|
68
|
+
/**
|
|
69
|
+
* This is an array of all applied coupons.
|
|
70
|
+
*/
|
|
65
71
|
coupons: Coupon[];
|
|
72
|
+
/**
|
|
73
|
+
* This is the total amount of discount applied on cart including coupons and line_items discounts.
|
|
74
|
+
*/
|
|
66
75
|
discounts: Discount[];
|
|
67
76
|
lineItems: LineItemMap;
|
|
68
77
|
createdTime: string;
|
package/docs/interfaces/Cart.md
CHANGED
|
@@ -39,6 +39,8 @@ ___
|
|
|
39
39
|
|
|
40
40
|
• **coupons**: [`Coupon`](Coupon.md)[]
|
|
41
41
|
|
|
42
|
+
This is an array of all applied coupons.
|
|
43
|
+
|
|
42
44
|
___
|
|
43
45
|
|
|
44
46
|
### createdTime
|
|
@@ -63,12 +65,16 @@ ___
|
|
|
63
65
|
|
|
64
66
|
• **discountAmount**: `number`
|
|
65
67
|
|
|
68
|
+
This is the total amount of discount applied on line_items.
|
|
69
|
+
|
|
66
70
|
___
|
|
67
71
|
|
|
68
72
|
### discounts
|
|
69
73
|
|
|
70
74
|
• **discounts**: [`Discount`](Discount.md)[]
|
|
71
75
|
|
|
76
|
+
This is the total amount of discount applied on cart including coupons and line_items discounts.
|
|
77
|
+
|
|
72
78
|
___
|
|
73
79
|
|
|
74
80
|
### email
|