@hmcts/ccpay-web-component 5.0.2-beta44 → 5.0.2-beta45

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.
@@ -7053,13 +7053,12 @@
7053
7053
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7054
7054
  */
7055
7055
  var PostRefundRetroRemission = /** @class */ (function () {
7056
- function PostRefundRetroRemission(ccd_case_number, payment_reference, total_refund_amount, refund_amount, fees, contact_details) {
7057
- this.ccd_case_number = ccd_case_number;
7058
- this.payment_reference = payment_reference;
7059
- this.refund_reason = total_refund_amount;
7060
- this.total_refund_amount = refund_amount;
7061
- this.fees = fees;
7056
+ function PostRefundRetroRemission(contact_details, fees, payment_reference, refund_reason, total_refund_amount) {
7062
7057
  this.contact_details = contact_details;
7058
+ this.fees = fees;
7059
+ this.payment_reference = payment_reference;
7060
+ this.refund_reason = refund_reason;
7061
+ this.total_refund_amount = total_refund_amount;
7063
7062
  }
7064
7063
  return PostRefundRetroRemission;
7065
7064
  }());
@@ -8092,7 +8091,7 @@
8092
8091
  refund_amount: obj.refund_amount });
8093
8092
  }));
8094
8093
  /** @type {?} */
8095
- var requestBody = new PostRefundRetroRemission(this.ccdCaseNumber, this.payment.reference, this.refundReason, this.totalRefundAmount, this.fees, this.contactDetailsObj);
8094
+ var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount);
8096
8095
  this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**
8097
8096
  * @param {?} response
8098
8097
  * @return {?}