@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.
@@ -9541,9 +9541,10 @@
9541
9541
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9542
9542
  */
9543
9543
  var IResubmitRefundRequest = /** @class */ (function () {
9544
- function IResubmitRefundRequest(refund_reason, amount) {
9544
+ function IResubmitRefundRequest(refund_reason, amount, contact_details) {
9545
9545
  this.refund_reason = refund_reason;
9546
9546
  this.amount = amount;
9547
+ this.contact_details = contact_details;
9547
9548
  }
9548
9549
  return IResubmitRefundRequest;
9549
9550
  }());
@@ -9931,11 +9932,12 @@
9931
9932
  */
9932
9933
  function () {
9933
9934
  var _this = this;
9934
- if (this.oldRefundReason === this.refundlist.reason) {
9935
- this.refundCode = '';
9936
- }
9935
+ // if (this.oldRefundReason === this.refundlist.reason) {
9936
+ // this.refundCode = '';
9937
+ // }
9938
+ this.refundCode = this.refundlist.reason;
9937
9939
  /** @type {?} */
9938
- var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount);
9940
+ var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount, this.refundlist.contact_details);
9939
9941
  this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe(( /**
9940
9942
  * @param {?} response
9941
9943
  * @return {?}