@hmcts/ccpay-web-component 5.0.4-beta09 → 5.0.4-beta10

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.
@@ -1487,7 +1487,17 @@ var PaymentViewComponent = /** @class */ (function () {
1487
1487
  * @return {?}
1488
1488
  */
1489
1489
  function (res) {
1490
- console.log(res);
1490
+ /** @type {?} */
1491
+ var allPaymentsFailure = [];
1492
+ res.payment_failure_list.forEach((/**
1493
+ * @param {?} payments
1494
+ * @return {?}
1495
+ */
1496
+ function (payments) {
1497
+ allPaymentsFailure.push(payments.payment_failure_initiated);
1498
+ allPaymentsFailure.push(payments.payment_failure_closed);
1499
+ }));
1500
+ console.log(allPaymentsFailure);
1491
1501
  }));
1492
1502
  };
1493
1503
  Object.defineProperty(PaymentViewComponent.prototype, "isCardPayment", {