@hmcts/ccpay-web-component 5.0.2-beta50 → 5.0.2-beta53

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.
@@ -1652,7 +1652,16 @@
1652
1652
  var _this = this;
1653
1653
  this.isConfirmationBtnDisabled = true;
1654
1654
  this.errorMessage = '';
1655
- this.fees = this.paymentGroup.fees[0];
1655
+ /** @type {?} */
1656
+ var obj = this.paymentGroup.fees[0];
1657
+ this.fees = { id: obj.id,
1658
+ code: obj.code,
1659
+ version: obj.version,
1660
+ apportion_amount: obj.apportion_amount,
1661
+ calculated_amount: obj.calculated_amount,
1662
+ updated_volume: obj.updated_volume,
1663
+ volume: obj.volume,
1664
+ refund_amount: obj.over_payment };
1656
1665
  /** @type {?} */
1657
1666
  var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroup.payments[0].reference, 'RR037', this.paymentGroup.fees[0].over_payment);
1658
1667
  this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**