@hmcts/ccpay-web-component 5.0.1-beta86 → 5.0.1-beta91
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 +271 -12
- 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 +264 -7
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -1
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +3 -1
- package/esm2015/lib/components/payment-view/payment-view.component.js +3 -3
- package/esm2015/lib/components/process-refund/process-refund.component.js +3 -3
- package/esm2015/lib/components/service-request/service-request.component.js +2 -2
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +22 -2
- package/esm5/lib/components/add-remission/add-remission.component.js +293 -7
- package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -1
- package/esm5/lib/components/fee-summary/fee-summary.component.js +3 -1
- package/esm5/lib/components/payment-view/payment-view.component.js +3 -3
- package/esm5/lib/components/process-refund/process-refund.component.js +3 -3
- package/esm5/lib/components/service-request/service-request.component.js +2 -2
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +17 -2
- package/fesm2015/hmcts-ccpay-web-component.js +260 -12
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +283 -12
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +16 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +6 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
2
|
+
import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
3
3
|
import { IFee } from '../../interfaces/IFee';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
@@ -19,6 +19,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
19
19
|
private cd;
|
|
20
20
|
private OrderslistService;
|
|
21
21
|
fee: IFee;
|
|
22
|
+
fees: any[];
|
|
22
23
|
payment: IPayment;
|
|
23
24
|
remission: IRemission;
|
|
24
25
|
ccdCaseNumber: string;
|
|
@@ -89,6 +90,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
89
90
|
isPaymentSuccess: boolean;
|
|
90
91
|
isRemissionApplied: boolean;
|
|
91
92
|
remissionamt: number;
|
|
93
|
+
elementId: any;
|
|
92
94
|
commonRefundReasons: any[];
|
|
93
95
|
showReasonText: boolean;
|
|
94
96
|
isRefundReasonsSelected: boolean;
|
|
@@ -99,6 +101,13 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
99
101
|
pattern2: string;
|
|
100
102
|
sendOrderDetail: any[];
|
|
101
103
|
sendOrderRef: string;
|
|
104
|
+
paymentReference: string;
|
|
105
|
+
class: string;
|
|
106
|
+
errorMsg: any[];
|
|
107
|
+
totalRefundAmount: number;
|
|
108
|
+
quantityUpdated: number;
|
|
109
|
+
fullRefund: boolean;
|
|
110
|
+
allowedRefundAmount: number;
|
|
102
111
|
component: {
|
|
103
112
|
account_number: string;
|
|
104
113
|
amount: number;
|
|
@@ -120,6 +129,9 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
120
129
|
};
|
|
121
130
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
122
131
|
ngOnInit(): void;
|
|
132
|
+
readonly feesList: FormArray;
|
|
133
|
+
noneSelected(): boolean;
|
|
134
|
+
check_en(v1: any): void;
|
|
123
135
|
addRemission(): void;
|
|
124
136
|
confirmRemission(): void;
|
|
125
137
|
resetRemissionForm(val: any, field: any): void;
|
|
@@ -131,6 +143,9 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
131
143
|
processRefund(): void;
|
|
132
144
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
133
145
|
gotoIssueRefundPage(): void;
|
|
146
|
+
gotoIssuePage(): void;
|
|
147
|
+
getRefundReasons(): void;
|
|
148
|
+
getErrorClass(elementId: any): void;
|
|
134
149
|
changeIssueRefundReason(): void;
|
|
135
150
|
confirmIssueRefund(): void;
|
|
136
151
|
confirmRetroRefund(): void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare class PostRefundRetroRemission {
|
|
2
|
+
ccd_case_number: string;
|
|
2
3
|
payment_reference: string;
|
|
3
4
|
refund_reason: string;
|
|
4
|
-
|
|
5
|
+
payment_method: string;
|
|
6
|
+
payment_status: string;
|
|
7
|
+
refund_amount: any;
|
|
8
|
+
fees: any[];
|
|
9
|
+
constructor(ccd_case_number: string, payment_reference: string, refund_reason: string, payment_method: string, payment_status: string, refund_amount: any, fees: any[]);
|
|
5
10
|
}
|