@trusted-solutions/sdit.models 0.61.0-alpha.4 → 0.61.0-alpha.6
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/models/order.d.ts +9 -1
- package/package.json +1 -1
package/models/order.d.ts
CHANGED
|
@@ -269,9 +269,17 @@ export interface OrderItemChangelog {
|
|
|
269
269
|
modifiedBy?: Operator;
|
|
270
270
|
}
|
|
271
271
|
export interface OrderItemAttr {
|
|
272
|
-
attributeId
|
|
272
|
+
attributeId: string;
|
|
273
273
|
name: string;
|
|
274
|
+
/** attr單價 */
|
|
274
275
|
additionalAmount: number;
|
|
276
|
+
/** 當舊資料此欄為undefined時,quantity應視為1 */
|
|
277
|
+
quantity?: number;
|
|
278
|
+
/**
|
|
279
|
+
* attr單價 * quantity
|
|
280
|
+
* 舊資料此欄為undefined時,quantity應視為1,totalAmount為additionalAmount
|
|
281
|
+
*/
|
|
282
|
+
totalAmount?: number;
|
|
275
283
|
}
|
|
276
284
|
export interface OrderPayment {
|
|
277
285
|
paymentServiceProvider: PaymentServiceProvider;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.61.0-alpha.
|
|
3
|
+
"version": "0.61.0-alpha.6",
|
|
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": {
|