@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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "vitest",