@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.
- package/bundles/hmcts-ccpay-web-component.umd.js +7 -5
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/refund-status/refund-status.component.js +6 -5
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +6 -2
- package/esm5/lib/components/refund-status/refund-status.component.js +6 -5
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +5 -2
- package/fesm2015/hmcts-ccpay-web-component.js +8 -5
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +7 -5
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/interfaces/IResubmitRefundRequest.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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 {?}
|