rerobe-js-orm 2.6.95 → 2.6.96
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/lib/models/Order.js
CHANGED
|
@@ -243,7 +243,7 @@ class Order extends Base_1.default {
|
|
|
243
243
|
{
|
|
244
244
|
facet: true,
|
|
245
245
|
name: 'totalPrice',
|
|
246
|
-
type: '
|
|
246
|
+
type: 'float',
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
facet: true,
|
|
@@ -265,6 +265,11 @@ class Order extends Base_1.default {
|
|
|
265
265
|
name: 'salesChannel',
|
|
266
266
|
type: 'string',
|
|
267
267
|
},
|
|
268
|
+
{
|
|
269
|
+
facet: true,
|
|
270
|
+
name: 'paymentType',
|
|
271
|
+
type: 'string',
|
|
272
|
+
},
|
|
268
273
|
{
|
|
269
274
|
facet: true,
|
|
270
275
|
name: 'productIds',
|
|
@@ -307,6 +312,7 @@ class Order extends Base_1.default {
|
|
|
307
312
|
financialStatus: this.utilities.sanitizeString(this.financialStatus),
|
|
308
313
|
fulfillmentStatus: this.utilities.sanitizeString(this.fulfillmentStatus),
|
|
309
314
|
salesChannel: this.utilities.sanitizeString(this.salesChannel),
|
|
315
|
+
paymentType: this.utilities.sanitizeString(this.paymentType),
|
|
310
316
|
productIds: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.productId)),
|
|
311
317
|
productTitles: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.title)),
|
|
312
318
|
productBrands: this.utilities.sanitzeStringArr(this.lineItems.map((l) => l.brand)),
|