@hmcts/ccpay-web-component 5.0.1-beta162 → 5.0.1-beta163
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 +6 -3
- 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/interfaces/PostRefundRetroRemission.js +16 -4
- package/esm5/lib/components/add-remission/add-remission.component.js +2 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +12 -3
- package/fesm2015/hmcts-ccpay-web-component.js +10 -4
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +6 -3
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +4 -1
- package/package.json +1 -1
|
@@ -7211,10 +7211,13 @@ var AddRetroRemissionRequest = /** @class */ (function () {
|
|
|
7211
7211
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
7212
7212
|
*/
|
|
7213
7213
|
var PostRefundRetroRemission = /** @class */ (function () {
|
|
7214
|
-
function PostRefundRetroRemission(payment_reference, refund_reason,
|
|
7214
|
+
function PostRefundRetroRemission(ccd_case_number, payment_reference, refund_reason, refund_amount, fees, contact_details) {
|
|
7215
|
+
this.ccd_case_number = ccd_case_number;
|
|
7215
7216
|
this.payment_reference = payment_reference;
|
|
7216
7217
|
this.refund_reason = refund_reason;
|
|
7217
|
-
this.
|
|
7218
|
+
this.refund_amount = refund_amount;
|
|
7219
|
+
this.fees = fees;
|
|
7220
|
+
this.contact_details = contact_details;
|
|
7218
7221
|
}
|
|
7219
7222
|
return PostRefundRetroRemission;
|
|
7220
7223
|
}());
|
|
@@ -8232,7 +8235,7 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
8232
8235
|
*/
|
|
8233
8236
|
function (value) { return value.selected === true; }));
|
|
8234
8237
|
/** @type {?} */
|
|
8235
|
-
var requestBody = new PostRefundRetroRemission(this.payment.reference, this.refundReason, this.contactDetailsObj);
|
|
8238
|
+
var requestBody = new PostRefundRetroRemission(this.ccdCaseNumber, this.payment.reference, this.refundReason, this.totalRefundAmount, this.fees, this.contactDetailsObj);
|
|
8236
8239
|
this.paymentViewService.postRefundsReason(requestBody).subscribe((/**
|
|
8237
8240
|
* @param {?} response
|
|
8238
8241
|
* @return {?}
|