merchi_sdk_js 0.0.20 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/cart_item.js +2 -0
package/package.json
CHANGED
package/src/cart_item.js
CHANGED
@@ -3,6 +3,7 @@ import { addPropertyTo, serialise, fromJson, create,
|
|
3
3
|
enumerateFiles } from './model.js';
|
4
4
|
import { Cart } from './cart.js';
|
5
5
|
import { CountryTax } from './country_tax.js';
|
6
|
+
import { DomainTag } from './domain_tag.js';
|
6
7
|
import { Product } from './product.js';
|
7
8
|
import { Variation } from './variation.js';
|
8
9
|
import { VariationsGroup } from './variations_group.js';
|
@@ -22,6 +23,7 @@ export function CartItem() {
|
|
22
23
|
addPropertyTo(this, 'variations', Variation);
|
23
24
|
addPropertyTo(this, 'variationsGroups', VariationsGroup);
|
24
25
|
addPropertyTo(this, 'taxType', CountryTax);
|
26
|
+
addPropertyTo(this, 'tags', DomainTag);
|
25
27
|
addPropertyTo(this, 'subtotalCost');
|
26
28
|
addPropertyTo(this, 'totalCost');
|
27
29
|
|