@hmcts/ccpay-web-component 5.0.2-beta44 → 5.0.2-beta45
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 -7
- 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 +9 -11
- package/esm5/lib/components/add-remission/add-remission.component.js +2 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +6 -7
- package/fesm2015/hmcts-ccpay-web-component.js +9 -11
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +6 -7
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
4
|
*/
|
|
5
5
|
var PostRefundRetroRemission = /** @class */ (function () {
|
|
6
|
-
function PostRefundRetroRemission(
|
|
7
|
-
this.ccd_case_number = ccd_case_number;
|
|
8
|
-
this.payment_reference = payment_reference;
|
|
9
|
-
this.refund_reason = total_refund_amount;
|
|
10
|
-
this.total_refund_amount = refund_amount;
|
|
11
|
-
this.fees = fees;
|
|
6
|
+
function PostRefundRetroRemission(contact_details, fees, payment_reference, refund_reason, total_refund_amount) {
|
|
12
7
|
this.contact_details = contact_details;
|
|
8
|
+
this.fees = fees;
|
|
9
|
+
this.payment_reference = payment_reference;
|
|
10
|
+
this.refund_reason = refund_reason;
|
|
11
|
+
this.total_refund_amount = total_refund_amount;
|
|
13
12
|
}
|
|
14
13
|
return PostRefundRetroRemission;
|
|
15
14
|
}());
|
|
@@ -28,4 +27,4 @@ if (false) {
|
|
|
28
27
|
/** @type {?} */
|
|
29
28
|
PostRefundRetroRemission.prototype.contact_details;
|
|
30
29
|
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9zdFJlZnVuZFJldHJvUmVtaXNzaW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9Qb3N0UmVmdW5kUmV0cm9SZW1pc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUdBO0lBUUksa0NBQVksZUFBbUIsRUFBQyxJQUFXLEVBQUUsaUJBQTBCLEVBQUMsYUFBb0IsRUFBRSxtQkFBMEI7UUFDdEgsSUFBSSxDQUFDLGVBQWUsR0FBRyxlQUFlLENBQUM7UUFDdkMsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUM7UUFDakIsSUFBSSxDQUFDLGlCQUFpQixHQUFFLGlCQUFpQixDQUFDO1FBQzFDLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ3BDLElBQUksQ0FBQyxtQkFBbUIsR0FBRyxtQkFBbUIsQ0FBQztJQUNoRCxDQUFDO0lBQ0wsK0JBQUM7QUFBRCxDQUFDLEFBZkQsSUFlQzs7OztJQWRDLG1EQUF3Qjs7SUFDeEIscURBQTBCOztJQUMxQixpREFBc0I7O0lBQ3RCLHVEQUF5Qjs7SUFDekIsd0NBQVk7O0lBQ1osbURBQXNDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUZlZSB9IGZyb20gXCIuL0lGZWVcIjtcbmltcG9ydCB7IElSZWZ1bmRDb250YWN0RGV0YWlscyB9IGZyb20gXCIuL0lSZWZ1bmRDb250YWN0RGV0YWlsc1wiO1xuXG5leHBvcnQgY2xhc3MgUG9zdFJlZnVuZFJldHJvUmVtaXNzaW9uIHtcbiAgY2NkX2Nhc2VfbnVtYmVyOiBzdHJpbmc7XG4gIHBheW1lbnRfcmVmZXJlbmNlOiBzdHJpbmc7XG4gIHJlZnVuZF9yZWFzb246IHN0cmluZztcbiAgdG90YWxfcmVmdW5kX2Ftb3VudDogYW55O1xuICBmZWVzOiBhbnlbXTtcbiAgY29udGFjdF9kZXRhaWxzOiBJUmVmdW5kQ29udGFjdERldGFpbHNcbiAgXG4gICAgY29uc3RydWN0b3IoY29udGFjdF9kZXRhaWxzOmFueSxmZWVzOiBhbnlbXSwgcGF5bWVudF9yZWZlcmVuY2UgOiBzdHJpbmcscmVmdW5kX3JlYXNvbjpzdHJpbmcsIHRvdGFsX3JlZnVuZF9hbW91bnQgOiAgYW55ICkge1xuICAgICAgdGhpcy5jb250YWN0X2RldGFpbHMgPSBjb250YWN0X2RldGFpbHM7XG4gICAgICB0aGlzLmZlZXMgPSBmZWVzO1xuICAgICAgdGhpcy5wYXltZW50X3JlZmVyZW5jZT0gcGF5bWVudF9yZWZlcmVuY2U7XG4gICAgICB0aGlzLnJlZnVuZF9yZWFzb24gPSByZWZ1bmRfcmVhc29uO1xuXHQgICAgdGhpcy50b3RhbF9yZWZ1bmRfYW1vdW50ID0gdG90YWxfcmVmdW5kX2Ftb3VudDtcbiAgICB9IFxufSJdfQ==
|
|
@@ -6237,20 +6237,18 @@ class AddRetroRemissionRequest {
|
|
|
6237
6237
|
*/
|
|
6238
6238
|
class PostRefundRetroRemission {
|
|
6239
6239
|
/**
|
|
6240
|
-
* @param {?}
|
|
6240
|
+
* @param {?} contact_details
|
|
6241
|
+
* @param {?} fees
|
|
6241
6242
|
* @param {?} payment_reference
|
|
6243
|
+
* @param {?} refund_reason
|
|
6242
6244
|
* @param {?} total_refund_amount
|
|
6243
|
-
* @param {?} refund_amount
|
|
6244
|
-
* @param {?} fees
|
|
6245
|
-
* @param {?} contact_details
|
|
6246
6245
|
*/
|
|
6247
|
-
constructor(
|
|
6248
|
-
this.ccd_case_number = ccd_case_number;
|
|
6249
|
-
this.payment_reference = payment_reference;
|
|
6250
|
-
this.refund_reason = total_refund_amount;
|
|
6251
|
-
this.total_refund_amount = refund_amount;
|
|
6252
|
-
this.fees = fees;
|
|
6246
|
+
constructor(contact_details, fees, payment_reference, refund_reason, total_refund_amount) {
|
|
6253
6247
|
this.contact_details = contact_details;
|
|
6248
|
+
this.fees = fees;
|
|
6249
|
+
this.payment_reference = payment_reference;
|
|
6250
|
+
this.refund_reason = refund_reason;
|
|
6251
|
+
this.total_refund_amount = total_refund_amount;
|
|
6254
6252
|
}
|
|
6255
6253
|
}
|
|
6256
6254
|
|
|
@@ -7227,7 +7225,7 @@ class AddRemissionComponent {
|
|
|
7227
7225
|
volume: obj.volume,
|
|
7228
7226
|
refund_amount: obj.refund_amount })));
|
|
7229
7227
|
/** @type {?} */
|
|
7230
|
-
const requestBody = new PostRefundRetroRemission(this.
|
|
7228
|
+
const requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.payment.reference, this.refundReason, this.totalRefundAmount);
|
|
7231
7229
|
this.paymentViewService.postRefundsReason(requestBody).subscribe((/**
|
|
7232
7230
|
* @param {?} response
|
|
7233
7231
|
* @return {?}
|