@pintahub/database-schemas 2.7.5 → 2.7.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/package.json +1 -1
- package/schemas/Order.js +10 -0
package/package.json
CHANGED
package/schemas/Order.js
CHANGED
|
@@ -68,6 +68,10 @@ const Order = new Schema({
|
|
|
68
68
|
type: MoneyObject,
|
|
69
69
|
},
|
|
70
70
|
|
|
71
|
+
transaction_fee: {
|
|
72
|
+
type: MoneyObject,
|
|
73
|
+
},
|
|
74
|
+
|
|
71
75
|
email: {
|
|
72
76
|
type: String,
|
|
73
77
|
trim: true,
|
|
@@ -110,6 +114,12 @@ const Order = new Schema({
|
|
|
110
114
|
index: true
|
|
111
115
|
},
|
|
112
116
|
|
|
117
|
+
gateway: {
|
|
118
|
+
type: String,
|
|
119
|
+
trim: true,
|
|
120
|
+
index: true,
|
|
121
|
+
},
|
|
122
|
+
|
|
113
123
|
updated_at: {
|
|
114
124
|
type: Date,
|
|
115
125
|
default: Date.now
|