@pmcretail/mapper-library 0.0.25 → 0.0.26

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.
@@ -6724,7 +6724,7 @@
6724
6724
  (/** @type {?} */ (this)).webReturnObject.basket['products'] = [];
6725
6725
  /** @type {?} */
6726
6726
  var product = {};
6727
- if ((/** @type {?} */ (this)).document.items && (/** @type {?} */ (this)).document.items.item && (/** @type {?} */ (this)).document.items.item) {
6727
+ if ((/** @type {?} */ (this)).document.items && (/** @type {?} */ (this)).document.items.item) {
6728
6728
  if ((/** @type {?} */ (this)).document.items.item instanceof Array) {
6729
6729
  (/** @type {?} */ (this)).document.items.item.forEach((/**
6730
6730
  * @param {?} element
@@ -6741,7 +6741,7 @@
6741
6741
  description: (element.name) ? (/** @type {?} */ (_this)).getText(element.name) : '',
6742
6742
  SKU: (element.sku) ? (/** @type {?} */ (_this)).getText(element.sku) : '',
6743
6743
  quantity: (element.qty_ordered) ? Number((/** @type {?} */ (_this)).getText(element.qty_ordered)) : 0,
6744
- refundedQuantity: (element.qty_refunded) ? Number((/** @type {?} */ (_this)).getText((/** @type {?} */ (_this)).document.items.item.qty_refunded)) : 0,
6744
+ refundedQuantity: (element.qty_refunded) ? Number((/** @type {?} */ (_this)).getText(element.qty_refunded)) : 0,
6745
6745
  price: (element.original_price) ? Number((/** @type {?} */ (_this)).getText(element.original_price)) : 0,
6746
6746
  itemLineId: (element.item_id) ? Number((/** @type {?} */ (_this)).getText(element.item_id)) : 0,
6747
6747
  // totalLinePrice: (element.row_invoiced) ? Number(this.getText(element.row_invoiced)) : 0,