@dascompany/product 3.6.0 → 3.6.1
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.
|
@@ -63,6 +63,7 @@ export default class Product extends StockObject {
|
|
|
63
63
|
setTitle(title: string): string;
|
|
64
64
|
setDescription(description: string): string;
|
|
65
65
|
setNetPrice(netPrice: number): number;
|
|
66
|
+
setPromotionalNetPrice(promotionalNetPrice: number | null): number | null;
|
|
66
67
|
setVat(vat: number): number;
|
|
67
68
|
setColor(color: string): string;
|
|
68
69
|
setQuantity(quantity: number): number;
|
|
@@ -153,6 +153,9 @@ export default class Product extends StockObject {
|
|
|
153
153
|
setNetPrice(netPrice) {
|
|
154
154
|
return this.netPrice = netPrice;
|
|
155
155
|
}
|
|
156
|
+
setPromotionalNetPrice(promotionalNetPrice) {
|
|
157
|
+
return this.promotionalNetPrice = promotionalNetPrice;
|
|
158
|
+
}
|
|
156
159
|
setVat(vat) {
|
|
157
160
|
return this.vat = vat;
|
|
158
161
|
}
|