merchi_sdk_js 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/cart.js CHANGED
@@ -27,6 +27,7 @@ export function Cart() {
27
27
  addPropertyTo(this, 'subtotalCost');
28
28
  addPropertyTo(this, 'taxAmount');
29
29
  addPropertyTo(this, 'totalCost');
30
+ addPropertyTo(this, 'discountedAmount');
30
31
  addPropertyTo(this, 'cartItems', CartItem);
31
32
  addPropertyTo(this, 'cartItemsSubtotalCost');
32
33
  addPropertyTo(this, 'cartItemsTaxAmount');
package/src/invoice.js CHANGED
@@ -35,6 +35,7 @@ export function Invoice() {
35
35
  addPropertyTo(this, 'taxAmount');
36
36
  addPropertyTo(this, 'invoiceToken');
37
37
  addPropertyTo(this, 'canAutoPay');
38
+ addPropertyTo(this, 'discountedAmount');
38
39
  addPropertyTo(this, 'responsibleManager', User);
39
40
  addPropertyTo(this, 'creator', User);
40
41
  addPropertyTo(this, 'client', User);