@trusted-solutions/sdit.models 0.57.4-alpha.0 → 0.57.4-alpha.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.
- package/lambda/online-ordering.d.ts +4 -4
- package/models/store.d.ts +4 -4
- package/package.json +1 -1
|
@@ -194,14 +194,14 @@ export interface SOGetStoreInfoResponse {
|
|
|
194
194
|
brand?: any;
|
|
195
195
|
/** 加入購物車時,是否與相同品相合併 */
|
|
196
196
|
mergeSameItem?: boolean;
|
|
197
|
-
/** 內用服務費
|
|
197
|
+
/** 內用服務費 1~100(%) undefined為關閉 */
|
|
198
198
|
dineInServiceChargePercent?: number;
|
|
199
|
-
/** 外帶服務費
|
|
199
|
+
/** 外帶服務費 1~100(%) undefined為關閉 */
|
|
200
200
|
takeoutServiceChargePercent?: number;
|
|
201
201
|
/**
|
|
202
202
|
* 服務費計算基準,無值時預設subtotal
|
|
203
|
-
* "subtotal":
|
|
204
|
-
* "subtotal+discount":
|
|
203
|
+
* "subtotal": serviceCharge = (subtotal * servicePercent)
|
|
204
|
+
* "subtotal+discount": serviceCharge = ((subtotal+discount) * servicePercent)
|
|
205
205
|
*/
|
|
206
206
|
serviceBase?: "subtotal" | "subtotal+discount";
|
|
207
207
|
}
|
package/models/store.d.ts
CHANGED
|
@@ -227,14 +227,14 @@ export interface Store {
|
|
|
227
227
|
brandNo?: string;
|
|
228
228
|
/** 加入購物車時,是否與相同品相合併 */
|
|
229
229
|
onlineMergeSameItem?: boolean;
|
|
230
|
-
/** 內用服務費
|
|
230
|
+
/** 內用服務費 1~100(%) undefined為關閉 */
|
|
231
231
|
dineInServiceChargePercent?: number;
|
|
232
|
-
/** 外帶服務費
|
|
232
|
+
/** 外帶服務費 1~100(%) undefined為關閉 */
|
|
233
233
|
takeoutServiceChargePercent?: number;
|
|
234
234
|
/**
|
|
235
235
|
* 服務費計算基準,無值時預設subtotal
|
|
236
|
-
* "subtotal":
|
|
237
|
-
* "subtotal+discount":
|
|
236
|
+
* "subtotal": serviceCharge = (subtotal * servicePercent)
|
|
237
|
+
* "subtotal+discount": serviceCharge = ((subtotal+discount) * servicePercent)
|
|
238
238
|
*/
|
|
239
239
|
serviceBase?: "subtotal" | "subtotal+discount";
|
|
240
240
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.57.4-alpha.
|
|
3
|
+
"version": "0.57.4-alpha.1",
|
|
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": {
|