@hmcts/ccpay-web-component 5.0.2-beta122 → 5.0.2-beta123
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 +5 -4
- 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/add-remission/add-remission.component.js +2 -2
- package/esm2015/lib/components/payment-view/payment-view.component.js +2 -2
- package/esm2015/lib/components/service-request/service-request.component.js +2 -2
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +6 -2
- package/esm5/lib/components/add-remission/add-remission.component.js +2 -2
- package/esm5/lib/components/payment-view/payment-view.component.js +2 -2
- package/esm5/lib/components/service-request/service-request.component.js +2 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +5 -2
- package/fesm2015/hmcts-ccpay-web-component.js +6 -4
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +5 -4
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1410,12 +1410,13 @@
|
|
|
1410
1410
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1411
1411
|
*/
|
|
1412
1412
|
var PostRefundRetroRemission = /** @class */ (function () {
|
|
1413
|
-
function PostRefundRetroRemission(contact_details, fees, payment_reference, refund_reason, total_refund_amount) {
|
|
1413
|
+
function PostRefundRetroRemission(contact_details, fees, payment_reference, refund_reason, total_refund_amount, is_over_payment) {
|
|
1414
1414
|
this.contact_details = contact_details;
|
|
1415
1415
|
this.fees = fees;
|
|
1416
1416
|
this.payment_reference = payment_reference;
|
|
1417
1417
|
this.refund_reason = refund_reason;
|
|
1418
1418
|
this.total_refund_amount = total_refund_amount;
|
|
1419
|
+
this.is_over_payment = is_over_payment === 'op';
|
|
1419
1420
|
}
|
|
1420
1421
|
return PostRefundRetroRemission;
|
|
1421
1422
|
}());
|
|
@@ -1680,7 +1681,7 @@
|
|
|
1680
1681
|
volume: obj.volume,
|
|
1681
1682
|
refund_amount: this.getOverPaymentValue() }];
|
|
1682
1683
|
/** @type {?} */
|
|
1683
|
-
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroup.payments[0].reference, 'RR037', this.getOverPaymentValue());
|
|
1684
|
+
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroup.payments[0].reference, 'RR037', this.getOverPaymentValue(), 'op');
|
|
1684
1685
|
this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**
|
|
1685
1686
|
* @param {?} response
|
|
1686
1687
|
* @return {?}
|
|
@@ -8281,7 +8282,7 @@
|
|
|
8281
8282
|
refund_amount: obj.refund_amount ? obj.refund_amount : _this.totalRefundAmount });
|
|
8282
8283
|
}));
|
|
8283
8284
|
/** @type {?} */
|
|
8284
|
-
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount);
|
|
8285
|
+
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount, 'op');
|
|
8285
8286
|
this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**
|
|
8286
8287
|
* @param {?} response
|
|
8287
8288
|
* @return {?}
|
|
@@ -10810,7 +10811,7 @@
|
|
|
10810
10811
|
volume: obj.volume,
|
|
10811
10812
|
refund_amount: this.getOverPaymentValue() }];
|
|
10812
10813
|
/** @type {?} */
|
|
10813
|
-
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroupList.payments[0].reference, 'RR037', this.getOverPaymentValue());
|
|
10814
|
+
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroupList.payments[0].reference, 'RR037', this.getOverPaymentValue(), 'op');
|
|
10814
10815
|
this.paymentViewService.postRefundsReason(requestBody).subscribe(( /**
|
|
10815
10816
|
* @param {?} response
|
|
10816
10817
|
* @return {?}
|