@bondsports/types 2.1.16 → 2.1.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -53,13 +53,13 @@ export interface IUsesPerUser {
|
|
53
53
|
id: number;
|
54
54
|
uses: number;
|
55
55
|
}
|
56
|
-
export
|
56
|
+
export declare class IUserItem {
|
57
57
|
id: number;
|
58
58
|
userId: number;
|
59
59
|
productId: number;
|
60
60
|
product?: Product;
|
61
|
-
|
62
|
-
|
61
|
+
totalQuantity?: number;
|
62
|
+
totalPriceWithoutTax?: number;
|
63
63
|
totalPrice?: number;
|
64
64
|
isTaxInclusive?: boolean;
|
65
65
|
percentage?: number;
|
@@ -85,3 +85,9 @@ export interface IDiscountItem {
|
|
85
85
|
amount: number;
|
86
86
|
percentage?: number;
|
87
87
|
}
|
88
|
+
export interface IValidateDiscountOptions {
|
89
|
+
overrideItems?: boolean;
|
90
|
+
}
|
91
|
+
export interface ICalculateDiscountOptions {
|
92
|
+
maxAmount?: number;
|
93
|
+
}
|
@@ -1,4 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IUserItem = void 0;
|
3
4
|
const enums_service_1 = require("../../../services/enums.service");
|
5
|
+
class IUserItem {
|
6
|
+
}
|
7
|
+
exports.IUserItem = IUserItem;
|
4
8
|
//# sourceMappingURL=discount.interfaces.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"discount.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/discount.interfaces.ts"],"names":[],"mappings":";;;AAGA,mEAAuF;AA8DvF,MAAa,SAAS;CAoBrB;AApBD,8BAoBC"}
|