@hmcts/ccpay-web-component 5.0.1-beta163 → 5.0.1-beta164

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.
@@ -9683,9 +9683,10 @@ var IPutNotificationRequest = /** @class */ (function () {
9683
9683
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9684
9684
  */
9685
9685
  var IResubmitRefundRequest = /** @class */ (function () {
9686
- function IResubmitRefundRequest(refund_reason, amount) {
9686
+ function IResubmitRefundRequest(refund_reason, amount, contact_details) {
9687
9687
  this.refund_reason = refund_reason;
9688
9688
  this.amount = amount;
9689
+ this.contact_details = contact_details;
9689
9690
  }
9690
9691
  return IResubmitRefundRequest;
9691
9692
  }());
@@ -10088,11 +10089,12 @@ var RefundStatusComponent = /** @class */ (function () {
10088
10089
  */
10089
10090
  function () {
10090
10091
  var _this = this;
10091
- if (this.oldRefundReason === this.refundlist.reason) {
10092
- this.refundCode = '';
10093
- }
10092
+ // if (this.oldRefundReason === this.refundlist.reason) {
10093
+ // this.refundCode = '';
10094
+ // }
10095
+ this.refundCode = this.refundlist.reason;
10094
10096
  /** @type {?} */
10095
- var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount);
10097
+ var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details);
10096
10098
  this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe((/**
10097
10099
  * @param {?} response
10098
10100
  * @return {?}