@pmcretail/mapper-library 0.0.31 → 0.0.32

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.
@@ -7597,7 +7597,9 @@ var WebReturnSalesforceMapperBuilderClass = /** @class */ (function () {
7597
7597
  if (!(/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion) {
7598
7598
  (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion = [];
7599
7599
  }
7600
- (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.push(transactionPromotion);
7600
+ if (transactionPromotion && transactionPromotion.promotionId) {
7601
+ (/** @type {?} */ (this)).webReturnObject.basket.transactionPromotion.push(transactionPromotion);
7602
+ }
7601
7603
  return (/** @type {?} */ (this));
7602
7604
  }
7603
7605
  catch (error) {