@trusted-solutions/sdit.models 0.49.0-alpha.5 → 0.49.0-alpha.7
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.
|
@@ -270,7 +270,18 @@ export interface SOPublicProductAttribute {
|
|
|
270
270
|
}
|
|
271
271
|
export interface SOPublicDiscountRule {
|
|
272
272
|
discountRuleNo: string;
|
|
273
|
+
beginDatetime: string;
|
|
274
|
+
endDatetime: string;
|
|
275
|
+
/** TargetCustomers */
|
|
276
|
+
targetCustomers: any;
|
|
277
|
+
/** DiscountRuleUseCondition */
|
|
278
|
+
useCondition: any;
|
|
273
279
|
name: string;
|
|
274
280
|
description: string;
|
|
275
281
|
isOrderLevelDiscount: boolean;
|
|
282
|
+
/** 限全單層級的discountRule,商品層級的請看 `SOPublicProduct.labelForCustomer` */
|
|
283
|
+
labelForCustomer: {
|
|
284
|
+
condition?: DiscountLabel;
|
|
285
|
+
benefit: DiscountLabel;
|
|
286
|
+
}[];
|
|
276
287
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.49.0-alpha.
|
|
3
|
+
"version": "0.49.0-alpha.7",
|
|
4
4
|
"description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|