@pmcretail/mapper-library 0.0.4 → 0.0.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.
@@ -4756,7 +4756,7 @@ var RJMapperBuilderClass = /** @class */ (function () {
4756
4756
  (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.CashierID = (/** @type {?} */ (this)).cashierId;
4757
4757
  (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.CompanyID = (/** @type {?} */ (this)).companyId;
4758
4758
  (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.StoreID = (/** @type {?} */ (this)).transactionDocument.storeId;
4759
- (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.BranchID = (/** @type {?} */ (this)).transactionDocument.storeId;
4759
+ (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.BranchID = (/** @type {?} */ (this)).branchId;
4760
4760
  (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.TerminalNumber = (/** @type {?} */ (this)).terminalNumber;
4761
4761
  (/** @type {?} */ (this)).rjObject['Header'].OriginatedBy.TransactionNumber = (/** @type {?} */ (this)).transactionNumber;
4762
4762
  (/** @type {?} */ (this)).rjObject['Header'].TaxMethodID = (/** @type {?} */ (this)).taxMethodId;
@@ -4978,7 +4978,7 @@ var RJMapperBuilderClass = /** @class */ (function () {
4978
4978
  (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.DeviceID = (/** @type {?} */ (this)).deviceId; //todo
4979
4979
  (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.CashierID = (/** @type {?} */ (this)).cashierId; //todo
4980
4980
  (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.StoreID = (/** @type {?} */ (this)).transactionDocument.storeId;
4981
- (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.BranchID = (/** @type {?} */ (this)).transactionDocument.storeId;
4981
+ (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.BranchID = (/** @type {?} */ (this)).branchId;
4982
4982
  (/** @type {?} */ (this)).rjObject.Trailer.CompletedBy.TerminalNumber = (/** @type {?} */ (this)).transactionDocument.terminalId;
4983
4983
  (/** @type {?} */ (this)).rjObject.Trailer.Total = (/** @type {?} */ (this)).convertToString((/** @type {?} */ (this)).transactionDocument.basketSummary.basketTotal * 100);
4984
4984
  (/** @type {?} */ (this)).rjObject.Trailer.ItemCount = (/** @type {?} */ (this)).itemCount; //gives total count for product
@@ -5507,6 +5507,22 @@ var RJMapperBuilderClass = /** @class */ (function () {
5507
5507
  (/** @type {?} */ (this)).basketCurrencyId = value;
5508
5508
  return (/** @type {?} */ (this));
5509
5509
  };
5510
+ /**
5511
+ * @template THIS
5512
+ * @this {THIS}
5513
+ * @param {?} value
5514
+ * @return {THIS}
5515
+ */
5516
+ RJMapperBuilderClass.prototype.setBranchID = /**
5517
+ * @template THIS
5518
+ * @this {THIS}
5519
+ * @param {?} value
5520
+ * @return {THIS}
5521
+ */
5522
+ function (value) {
5523
+ (/** @type {?} */ (this)).branchId = value;
5524
+ return (/** @type {?} */ (this));
5525
+ };
5510
5526
  /**
5511
5527
  * @param {?} date
5512
5528
  * @return {?}
@@ -5911,6 +5927,11 @@ if (false) {
5911
5927
  * @private
5912
5928
  */
5913
5929
  RJMapperBuilderClass.prototype.largestNumber;
5930
+ /**
5931
+ * @type {?}
5932
+ * @private
5933
+ */
5934
+ RJMapperBuilderClass.prototype.branchId;
5914
5935
  /**
5915
5936
  * @type {?}
5916
5937
  * @private