@pisell/pisellos 2.3.208 → 2.3.210

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.
@@ -38,7 +38,6 @@ import { BaseModule } from "../../modules/BaseModule";
38
38
  import { isLocalFinalizedPayment, PAYMENT_REFRESH_MESSAGE, requiresLocalPaymentRefresh } from "../../modules/Order/localEftposState";
39
39
  import { BaseSalesHookNames } from "./types";
40
40
  import { OrderModule } from "../../modules/Order";
41
- import { ensureUniqueProductLineUids, consolidateDiscountFreeProductLines } from "../../modules/Order/utils/discountProductLineIdentity";
42
41
  import { isFulfillmentTimingBooking } from "../../modules/Order/pickupTiming";
43
42
  import { PickupTimingController } from "./pickupTiming";
44
43
  import { FulfillmentItemRulesController } from "./fulfillmentItemRules";
@@ -177,14 +176,6 @@ function preserveManualProductDiscountProducts(previousProducts, nextProducts) {
177
176
  return previous && isBaseSalesManualProductDiscountProduct(previous) ? previous : product;
178
177
  });
179
178
  }
180
-
181
- /** Rules may split a coupon quantity into rows that still share the original UID. */
182
- function applyDiscountProductLines(tempOrder, products, discounts, enableMemberCartConsistency) {
183
- tempOrder.products = preserveManualProductDiscountProducts(tempOrder.products, products);
184
- if (!enableMemberCartConsistency) return;
185
- ensureUniqueProductLineUids(tempOrder, discounts);
186
- consolidateDiscountFreeProductLines(tempOrder);
187
- }
188
179
  function isBaseSalesHistoricalDiscountEntry(discount) {
189
180
  return Boolean((discount === null || discount === void 0 ? void 0 : discount.isEditMode) || (discount === null || discount === void 0 ? void 0 : discount.isDisabled) || (discount === null || discount === void 0 ? void 0 : discount.order_discount_id) != null);
190
181
  }
@@ -661,13 +652,6 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
661
652
  value: function getInventory() {
662
653
  return this.otherParams.inventory;
663
654
  }
664
-
665
- /** Retail and standard POS opt in per sales instance; other hosts retain their member flow. */
666
- }, {
667
- key: "isMemberCartConsistencyEnabled",
668
- value: function isMemberCartConsistencyEnabled() {
669
- return this.otherParams.enableMemberCartConsistency === true;
670
- }
671
655
  }, {
672
656
  key: "prepareCheckout",
673
657
  value: function () {
@@ -3715,11 +3699,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
3715
3699
  isCurrentRequest = function isCurrentRequest() {
3716
3700
  var _this20$store$order, _this20$store$order$g, _this20$store$order2, _this20$store$order2$;
3717
3701
  var currentTempOrder = (_this20$store$order = _this20.store.order) === null || _this20$store$order === void 0 || (_this20$store$order$g = _this20$store$order.getTempOrder) === null || _this20$store$order$g === void 0 ? void 0 : _this20$store$order$g.call(_this20$store$order);
3718
- var current = Boolean(currentTempOrder && (requestEpoch === undefined || ((_this20$store$order2 = _this20.store.order) === null || _this20$store$order2 === void 0 || (_this20$store$order2$ = _this20$store$order2.getCustomerWalletPrepareConfigEpoch) === null || _this20$store$order2$ === void 0 ? void 0 : _this20$store$order2$.call(_this20$store$order2)) === requestEpoch) && _this20.resolveDiscountConfigCustomerId(currentTempOrder) === customerId && _this20.getDiscountConfigOrderIdentityKey(currentTempOrder) === requestOrderIdentityKey);
3719
- // Cart edits can replace the object while member configuration is pending.
3720
- // Keep the logical-order guard, but apply coupons to its latest rows.
3721
- if (current && _this20.isMemberCartConsistencyEnabled()) tempOrder = currentTempOrder;
3722
- return current;
3702
+ return Boolean(currentTempOrder && (requestEpoch === undefined || ((_this20$store$order2 = _this20.store.order) === null || _this20$store$order2 === void 0 || (_this20$store$order2$ = _this20$store$order2.getCustomerWalletPrepareConfigEpoch) === null || _this20$store$order2$ === void 0 ? void 0 : _this20$store$order2$.call(_this20$store$order2)) === requestEpoch) && _this20.resolveDiscountConfigCustomerId(currentTempOrder) === customerId && _this20.getDiscountConfigOrderIdentityKey(currentTempOrder) === requestOrderIdentityKey);
3723
3703
  };
3724
3704
  getCurrentResult = function getCurrentResult() {
3725
3705
  var _this20$store$order3, _this20$store$order3$, _discountModule$getDi2;
@@ -3971,7 +3951,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
3971
3951
  discountList: nextDiscountList
3972
3952
  };
3973
3953
  if (result.productList) {
3974
- applyDiscountProductLines(tempOrder, result.productList, result.discountList || nextDiscountList, this.isMemberCartConsistencyEnabled());
3954
+ tempOrder.products = preserveManualProductDiscountProducts(tempOrder.products, result.productList);
3975
3955
  }
3976
3956
  _iterator5 = _createForOfIteratorHelper(tempOrder.products || []);
3977
3957
  _context36.prev = 93;
@@ -4172,7 +4152,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4172
4152
  preserveEntitlementSelection: false
4173
4153
  }) || result;
4174
4154
  if (result.productList) {
4175
- applyDiscountProductLines(tempOrder, result.productList, result.discountList || nextDiscountList, this.isMemberCartConsistencyEnabled());
4155
+ tempOrder.products = preserveManualProductDiscountProducts(tempOrder.products, result.productList);
4176
4156
  }
4177
4157
  if (!result.discountList) {
4178
4158
  _context37.next = 28;
@@ -4285,7 +4265,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4285
4265
  key: "scanPromotionCode",
4286
4266
  value: function () {
4287
4267
  var _scanPromotionCode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(code, customerId, options) {
4288
- var raw, _tempOrder;
4268
+ var raw, tempOrder;
4289
4269
  return _regeneratorRuntime().wrap(function _callee39$(_context39) {
4290
4270
  while (1) switch (_context39.prev = _context39.next) {
4291
4271
  case 0:
@@ -4310,13 +4290,13 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4310
4290
  });
4311
4291
  case 9:
4312
4292
  this.store.order.persistTempOrder();
4313
- _tempOrder = this.store.order.ensureTempOrder();
4293
+ tempOrder = this.store.order.ensureTempOrder();
4314
4294
  _context39.next = 13;
4315
4295
  return this.effectsEmit('onDiscountApplied', {
4316
- productList: _tempOrder.products || [],
4296
+ productList: tempOrder.products || [],
4317
4297
  discountList: this.store.order.getDiscountList(),
4318
- selectedDiscountList: _tempOrder.discount_list || [],
4319
- tempOrder: _tempOrder
4298
+ selectedDiscountList: tempOrder.discount_list || [],
4299
+ tempOrder: tempOrder
4320
4300
  });
4321
4301
  case 13:
4322
4302
  return _context39.abrupt("return", _objectSpread(_objectSpread({
@@ -4347,7 +4327,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4347
4327
  key: "setDiscountSelected",
4348
4328
  value: function () {
4349
4329
  var _setDiscountSelected = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee40(params) {
4350
- var currentOrder, _store3, _store3$setDiscountLi, list, updated, _tempOrder2, orderStore, _discountModule, rulesModule, nextDiscountList, _orderStore$summary3, orderTotalAmount, result, beforeSelectedIds, promotionCardIds, _iterator6, _step6, d, selectedResourceIds, filterSelectedDiscountDetails, _iterator7, _step7, _product$metadata8, _tempOrder2$_extend, _product$metadata$sou2, _product$metadata9, _product$metadata10, _product$original_pri2, product, productUid, runtimeOrigin, totalPerUnitDiscount, optionSum, sourcePrice, newSourceSellingPrice, newMainSellingPrice;
4330
+ var currentOrder, _store3, _store3$setDiscountLi, list, updated, tempOrder, orderStore, _discountModule, rulesModule, nextDiscountList, _orderStore$summary3, orderTotalAmount, result, beforeSelectedIds, promotionCardIds, _iterator6, _step6, d, selectedResourceIds, filterSelectedDiscountDetails, _iterator7, _step7, _product$metadata8, _tempOrder$_extend7, _product$metadata$sou2, _product$metadata9, _product$metadata10, _product$original_pri2, product, productUid, runtimeOrigin, totalPerUnitDiscount, optionSum, sourcePrice, newSourceSellingPrice, newMainSellingPrice;
4351
4331
  return _regeneratorRuntime().wrap(function _callee40$(_context40) {
4352
4332
  while (1) switch (_context40.prev = _context40.next) {
4353
4333
  case 0:
@@ -4384,7 +4364,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4384
4364
  }) : d;
4385
4365
  });
4386
4366
  this.hasManualDiscountSelection = true;
4387
- _tempOrder2 = this.store.order.ensureTempOrder();
4367
+ tempOrder = this.store.order.ensureTempOrder();
4388
4368
  orderStore = this.store.order.store || {};
4389
4369
  _discountModule = orderStore.discount;
4390
4370
  rulesModule = orderStore.rules;
@@ -4395,22 +4375,22 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4395
4375
  if (rulesModule) {
4396
4376
  orderTotalAmount = Number(((_orderStore$summary3 = orderStore.summary) === null || _orderStore$summary3 === void 0 ? void 0 : _orderStore$summary3.total_amount) || 0);
4397
4377
  result = rulesModule.calcDiscount({
4398
- productList: _tempOrder2.products,
4378
+ productList: tempOrder.products,
4399
4379
  discountList: updated,
4400
4380
  holders: [],
4401
4381
  isFormSubject: function isFormSubject(product) {
4402
- return resolveIsFormSubject(_tempOrder2, product);
4382
+ return resolveIsFormSubject(tempOrder, product);
4403
4383
  },
4404
4384
  orderTotalAmount: orderTotalAmount
4405
4385
  }, {
4406
4386
  discountId: params.discountId,
4407
4387
  isSelected: params.isSelected
4408
4388
  }) || {
4409
- productList: _tempOrder2.products,
4389
+ productList: tempOrder.products,
4410
4390
  discountList: updated
4411
4391
  };
4412
4392
  if (result !== null && result !== void 0 && result.productList) {
4413
- applyDiscountProductLines(_tempOrder2, result.productList, result.discountList || updated, this.isMemberCartConsistencyEnabled());
4393
+ tempOrder.products = preserveManualProductDiscountProducts(tempOrder.products, result.productList);
4414
4394
  }
4415
4395
  if (result !== null && result !== void 0 && result.discountList) {
4416
4396
  nextDiscountList = result.discountList;
@@ -4461,7 +4441,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4461
4441
  return rid != null && selectedResourceIds.has(rid);
4462
4442
  });
4463
4443
  };
4464
- _iterator7 = _createForOfIteratorHelper(_tempOrder2.products);
4444
+ _iterator7 = _createForOfIteratorHelper(tempOrder.products);
4465
4445
  _context40.prev = 27;
4466
4446
  _iterator7.s();
4467
4447
  case 29:
@@ -4471,7 +4451,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4471
4451
  }
4472
4452
  product = _step7.value;
4473
4453
  productUid = (_product$metadata8 = product.metadata) === null || _product$metadata8 === void 0 ? void 0 : _product$metadata8.unique_identification_number;
4474
- runtimeOrigin = productUid ? (_tempOrder2$_extend = _tempOrder2._extend) === null || _tempOrder2$_extend === void 0 || (_tempOrder2$_extend = _tempOrder2$_extend.productsByUid) === null || _tempOrder2$_extend === void 0 || (_tempOrder2$_extend = _tempOrder2$_extend[productUid]) === null || _tempOrder2$_extend === void 0 ? void 0 : _tempOrder2$_extend.origin : undefined;
4454
+ runtimeOrigin = productUid ? (_tempOrder$_extend7 = tempOrder._extend) === null || _tempOrder$_extend7 === void 0 || (_tempOrder$_extend7 = _tempOrder$_extend7.productsByUid) === null || _tempOrder$_extend7 === void 0 || (_tempOrder$_extend7 = _tempOrder$_extend7[productUid]) === null || _tempOrder$_extend7 === void 0 ? void 0 : _tempOrder$_extend7.origin : undefined;
4475
4455
  if (!(runtimeOrigin !== null && runtimeOrigin !== void 0 && runtimeOrigin.isManualDiscount || isBaseSalesManualProductDiscountProduct(product))) {
4476
4456
  _context40.next = 35;
4477
4457
  break;
@@ -4526,11 +4506,11 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4526
4506
  _iterator7.f();
4527
4507
  return _context40.finish(51);
4528
4508
  case 54:
4529
- OrderModule.populateSavedAmounts(_tempOrder2.products, nextDiscountList);
4509
+ OrderModule.populateSavedAmounts(tempOrder.products, nextDiscountList);
4530
4510
  _context40.next = 57;
4531
4511
  return _discountModule === null || _discountModule === void 0 ? void 0 : _discountModule.setDiscountList(nextDiscountList);
4532
4512
  case 57:
4533
- _tempOrder2.discount_list = (nextDiscountList || []).filter(function (d) {
4513
+ tempOrder.discount_list = (nextDiscountList || []).filter(function (d) {
4534
4514
  return d.isSelected;
4535
4515
  });
4536
4516
  _context40.next = 60;
@@ -4540,10 +4520,10 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4540
4520
  case 60:
4541
4521
  this.store.order.persistTempOrder();
4542
4522
  this.effectsEmit('onDiscountApplied', {
4543
- productList: _tempOrder2.products,
4523
+ productList: tempOrder.products,
4544
4524
  discountList: nextDiscountList,
4545
- selectedDiscountList: _tempOrder2.discount_list,
4546
- tempOrder: _tempOrder2
4525
+ selectedDiscountList: tempOrder.discount_list,
4526
+ tempOrder: tempOrder
4547
4527
  });
4548
4528
  _context40.next = 67;
4549
4529
  break;
@@ -4566,7 +4546,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4566
4546
  key: "applyDiscountCalculationResult",
4567
4547
  value: function () {
4568
4548
  var _applyDiscountCalculationResult = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee41(result) {
4569
- var _tempOrder3, orderStore, _discountModule2;
4549
+ var tempOrder, orderStore, _discountModule2;
4570
4550
  return _regeneratorRuntime().wrap(function _callee41$(_context41) {
4571
4551
  while (1) switch (_context41.prev = _context41.next) {
4572
4552
  case 0:
@@ -4583,21 +4563,21 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4583
4563
  }
4584
4564
  return _context41.abrupt("return");
4585
4565
  case 5:
4586
- _tempOrder3 = this.store.order.ensureTempOrder();
4566
+ tempOrder = this.store.order.ensureTempOrder();
4587
4567
  orderStore = this.store.order.store || {};
4588
4568
  _discountModule2 = orderStore.discount;
4589
4569
  if (result.productList) {
4590
- applyDiscountProductLines(_tempOrder3, result.productList, result.discountList || this.getDiscountList(), this.isMemberCartConsistencyEnabled());
4570
+ tempOrder.products = preserveManualProductDiscountProducts(tempOrder.products, result.productList);
4591
4571
  }
4592
4572
  if (!result.discountList) {
4593
4573
  _context41.next = 14;
4594
4574
  break;
4595
4575
  }
4596
- OrderModule.populateSavedAmounts(_tempOrder3.products, result.discountList);
4576
+ OrderModule.populateSavedAmounts(tempOrder.products, result.discountList);
4597
4577
  _context41.next = 13;
4598
4578
  return _discountModule2 === null || _discountModule2 === void 0 ? void 0 : _discountModule2.setDiscountList(result.discountList);
4599
4579
  case 13:
4600
- _tempOrder3.discount_list = result.discountList.filter(function (discount) {
4580
+ tempOrder.discount_list = result.discountList.filter(function (discount) {
4601
4581
  return discount.isSelected;
4602
4582
  });
4603
4583
  case 14:
@@ -4609,10 +4589,10 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
4609
4589
  this.store.order.persistTempOrder();
4610
4590
  _context41.next = 19;
4611
4591
  return this.effectsEmit('onDiscountApplied', {
4612
- productList: _tempOrder3.products || [],
4592
+ productList: tempOrder.products || [],
4613
4593
  discountList: result.discountList || [],
4614
- selectedDiscountList: _tempOrder3.discount_list || [],
4615
- tempOrder: _tempOrder3
4594
+ selectedDiscountList: tempOrder.discount_list || [],
4595
+ tempOrder: tempOrder
4616
4596
  });
4617
4597
  case 19:
4618
4598
  _context41.next = 24;
@@ -7490,14 +7470,6 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
7490
7470
  return this.resolveProductBookingPriceGroups(paramsList, currentOrderCustomerId);
7491
7471
  case 9:
7492
7472
  authoritativeProducts = _context75.sent;
7493
- if (!paramsList.some(function (params, index) {
7494
- return params.requireAuthoritativePrice && !authoritativeProducts[index];
7495
- })) {
7496
- _context75.next = 12;
7497
- break;
7498
- }
7499
- throw new Error('The current customer product price is unavailable. Please retry before paying.');
7500
- case 12:
7501
7473
  plans = paramsList.map(function (params, index) {
7502
7474
  if (!isPos) return null;
7503
7475
  var product = authoritativeProducts[index];
@@ -7527,20 +7499,20 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
7527
7499
  return queryIndex;
7528
7500
  })) || [];
7529
7501
  });
7530
- _context75.next = 17;
7502
+ _context75.next = 15;
7531
7503
  return this.resolveProductBookingPriceGroups(segmentQueries, currentOrderCustomerId, true);
7532
- case 17:
7504
+ case 15:
7533
7505
  segmentProducts = _context75.sent;
7534
7506
  if (!segmentProducts.some(function (product) {
7535
7507
  return !product;
7536
7508
  })) {
7537
- _context75.next = 20;
7509
+ _context75.next = 18;
7538
7510
  break;
7539
7511
  }
7540
7512
  throw durationPricingUnavailable('An authoritative product is missing for a billing unit.');
7541
- case 20:
7513
+ case 18:
7542
7514
  if (useCustomerUserPricing) {
7543
- _context75.next = 25;
7515
+ _context75.next = 23;
7544
7516
  break;
7545
7517
  }
7546
7518
  quotationContexts = new Map();
@@ -7555,13 +7527,13 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
7555
7527
  customer_id: (_params$customer_id3 = params.customer_id) !== null && _params$customer_id3 !== void 0 ? _params$customer_id3 : currentOrderCustomerId
7556
7528
  });
7557
7529
  });
7558
- _context75.next = 25;
7530
+ _context75.next = 23;
7559
7531
  return Promise.all(Array.from(quotationContexts.values()).map(function (context) {
7560
7532
  return _this25.loadQuotationForPriceQuery(_objectSpread({
7561
7533
  quotation: quotation
7562
7534
  }, context));
7563
7535
  }));
7564
- case 25:
7536
+ case 23:
7565
7537
  return _context75.abrupt("return", paramsList.map(function (params, index) {
7566
7538
  var _params$customer_id4, _authoritativeProduct2, _params$duration;
7567
7539
  var productInput = params.product || {};
@@ -7612,7 +7584,7 @@ export var BaseSalesImpl = /*#__PURE__*/function (_BaseModule) {
7612
7584
  duration: undefined
7613
7585
  }) : result;
7614
7586
  }));
7615
- case 26:
7587
+ case 24:
7616
7588
  case "end":
7617
7589
  return _context75.stop();
7618
7590
  }
@@ -305,8 +305,6 @@ export interface BaseSalesQuotationDurationConfig {
305
305
  }
306
306
  export interface BaseSalesCalculateProductBookingPriceParams {
307
307
  product: Record<string, any>;
308
- /** Fail closed when the current customer price cannot be resolved; no old-line fallback. */
309
- requireAuthoritativePrice?: boolean;
310
308
  booking?: {
311
309
  start_date?: string;
312
310
  start_time?: string;
@@ -342,7 +342,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
342
342
  date: string;
343
343
  status: string;
344
344
  week: string;
345
- weekNum: 0 | 2 | 1 | 3 | 5 | 4 | 6;
345
+ weekNum: 0 | 2 | 1 | 6 | 4 | 5 | 3;
346
346
  }[]>;
347
347
  submitTimeSlot(timeSlots: TimeSliceItem): void;
348
348
  private getScheduleDataByIds;
@@ -389,7 +389,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
389
389
  };
390
390
  setOtherData(key: string, value: any): void;
391
391
  getOtherData(key: string): any;
392
- getProductTypeById(id: number): Promise<"normal" | "session" | "duration">;
392
+ getProductTypeById(id: number): Promise<"normal" | "duration" | "session">;
393
393
  /**
394
394
  * 提供给 UI 的方法,减轻 UI 层的计算压力,UI 层只需要传递 cartItemId 和 resourceCode 即返回对应的 renderList
395
395
  *
@@ -32,8 +32,6 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
32
32
  private orderCustomerDiscountRefreshCustomerId;
33
33
  private orderCustomerDiscountRefreshTarget;
34
34
  private orderCustomerPromotionRefreshInFlight;
35
- private orderCustomerRefreshTask;
36
- private orderCustomerRefreshRevision;
37
35
  private orderCustomerContactRequest;
38
36
  private readonly customerResolveRequests;
39
37
  protected loadOpenDataInFlight: Promise<OpenDataConfig> | null;
@@ -285,9 +283,6 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
285
283
  setOrderCustomer(customer: ICustomer | null, options?: {
286
284
  source?: OrderCustomerChangePayload['source'];
287
285
  }): void;
288
- /** Shared by customer changes and an explicit retry; keep the selected customer/cart intact. */
289
- private refreshMemberCartContext;
290
- retryOrderCustomerRefresh(): Promise<void>;
291
286
  private resetOrderCustomerContactInfo;
292
287
  /** Explicit edits, including clearing the contact, must win over a pending default. */
293
288
  updateTempOrderContactsInfo(contact: Record<string, any> | null): Record<string, any> | null;
@@ -326,8 +321,6 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
326
321
  private buildOrderCustomerPayload;
327
322
  protected refreshDiscountConfigAfterOrderCustomerChange(customerId: number | null): Promise<void>;
328
323
  protected waitForOrderCustomerPromotionRefresh(): Promise<void>;
329
- /** Wait before reading cart rows: member coupons can split or consolidate them. */
330
- waitForOrderCustomerRefresh(): Promise<void>;
331
324
  protected prepareProductPriceQueryContext(customerId?: number | string): Promise<void>;
332
325
  protected preferAuthoritativeProductQueryPrice(): boolean;
333
326
  /**