@hmcts/ccpay-web-component 5.0.1-beta97 → 5.0.1-beta98
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 +692 -727
- 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/hmcts-ccpay-web-component.js +4 -5
- package/esm2015/lib/components/add-remission/add-remission.component.js +343 -84
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +32 -4
- package/esm2015/lib/components/payment-view/payment-view.component.js +6 -4
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +199 -0
- package/esm2015/lib/components/process-refund/process-refund.component.js +8 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +27 -145
- package/esm2015/lib/components/service-request/service-request.component.js +28 -9
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +23 -0
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +28 -0
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +21 -5
- package/esm2015/lib/payment-lib.component.js +6 -8
- package/esm2015/lib/payment-lib.module.js +3 -5
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/payment-view/payment-view.service.js +29 -1
- package/esm2015/lib/services/refunds/refunds.service.js +1 -10
- package/esm2015/lib/services/shared/error-handler.service.js +19 -10
- package/esm5/hmcts-ccpay-web-component.js +4 -5
- package/esm5/lib/components/add-remission/add-remission.component.js +365 -102
- package/esm5/lib/components/case-transactions/case-transactions.component.js +38 -4
- package/esm5/lib/components/payment-view/payment-view.component.js +6 -4
- package/esm5/lib/components/pba-payment/pba-payment.component.js +216 -0
- package/esm5/lib/components/process-refund/process-refund.component.js +8 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +25 -172
- package/esm5/lib/components/service-request/service-request.component.js +32 -9
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +22 -0
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +25 -0
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +16 -4
- package/esm5/lib/payment-lib.component.js +4 -7
- package/esm5/lib/payment-lib.module.js +3 -5
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/payment-view/payment-view.service.js +42 -1
- package/esm5/lib/services/refunds/refunds.service.js +1 -16
- package/esm5/lib/services/shared/error-handler.service.js +19 -10
- package/fesm2015/hmcts-ccpay-web-component.js +660 -641
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +711 -724
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +3 -4
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +22 -9
- package/lib/components/case-transactions/case-transactions.component.d.ts +5 -0
- package/lib/components/payment-view/payment-view.component.d.ts +1 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +27 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -0
- package/lib/components/refund-status/refund-status.component.d.ts +5 -20
- package/lib/components/service-request/service-request.component.d.ts +2 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +7 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +6 -3
- package/lib/payment-lib.component.d.ts +2 -1
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/payment-view/payment-view.service.d.ts +5 -0
- package/lib/services/refunds/refunds.service.d.ts +0 -2
- package/package.json +1 -1
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -346
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
- package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -370
- package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
- package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -41
- package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
- package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
- package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
- package/lib/services/notification/notification.service.d.ts +0 -15
|
@@ -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';
|
|
@@ -7,10 +7,10 @@ import { PaymentLibComponent } from '../../payment-lib.component';
|
|
|
7
7
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
8
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
9
9
|
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
10
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
10
|
import { ChangeDetectorRef } from '@angular/core';
|
|
12
11
|
import { IRemission } from '../../interfaces/IRemission';
|
|
13
12
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
13
|
+
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
14
14
|
export declare class AddRemissionComponent implements OnInit {
|
|
15
15
|
private formBuilder;
|
|
16
16
|
private router;
|
|
@@ -20,6 +20,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
20
20
|
private cd;
|
|
21
21
|
private OrderslistService;
|
|
22
22
|
fee: IFee;
|
|
23
|
+
fees: any[];
|
|
23
24
|
payment: IPayment;
|
|
24
25
|
remission: IRemission;
|
|
25
26
|
ccdCaseNumber: string;
|
|
@@ -61,7 +62,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
61
62
|
other: string;
|
|
62
63
|
};
|
|
63
64
|
};
|
|
64
|
-
contactDetailsObj: IRefundContactDetails;
|
|
65
65
|
remissionForm: FormGroup;
|
|
66
66
|
hasErrors: boolean;
|
|
67
67
|
viewStatus: string;
|
|
@@ -91,6 +91,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
91
91
|
isPaymentSuccess: boolean;
|
|
92
92
|
isRemissionApplied: boolean;
|
|
93
93
|
remissionamt: number;
|
|
94
|
+
elementId: any;
|
|
94
95
|
commonRefundReasons: any[];
|
|
95
96
|
showReasonText: boolean;
|
|
96
97
|
isRefundReasonsSelected: boolean;
|
|
@@ -101,6 +102,17 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
101
102
|
pattern2: string;
|
|
102
103
|
sendOrderDetail: any[];
|
|
103
104
|
sendOrderRef: string;
|
|
105
|
+
paymentReference: string;
|
|
106
|
+
class: string;
|
|
107
|
+
errorMsg: any[];
|
|
108
|
+
totalRefundAmount: number;
|
|
109
|
+
quantityUpdated: number;
|
|
110
|
+
fullRefund: boolean;
|
|
111
|
+
allowedRefundAmount: number;
|
|
112
|
+
isRemissionsMatch: boolean;
|
|
113
|
+
paymentFees: IFee[];
|
|
114
|
+
paymentGroup: IPaymentGroup;
|
|
115
|
+
isStatusAllocated: boolean;
|
|
104
116
|
component: {
|
|
105
117
|
account_number: string;
|
|
106
118
|
amount: number;
|
|
@@ -122,29 +134,30 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
122
134
|
};
|
|
123
135
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
124
136
|
ngOnInit(): void;
|
|
137
|
+
refundFeesList(): void;
|
|
138
|
+
readonly feesList: FormArray;
|
|
139
|
+
noneSelected(): boolean;
|
|
140
|
+
check_en(v1: any): void;
|
|
125
141
|
addRemission(): void;
|
|
126
142
|
confirmRemission(): void;
|
|
127
143
|
resetRemissionForm(val: any, field: any): void;
|
|
128
144
|
addRemissionCode(): void;
|
|
129
145
|
gotoAddRetroRemissionCodePage(): void;
|
|
130
146
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
131
|
-
gotoAmountRetroRemission(): void;
|
|
132
147
|
gotoProcessRetroRemissionPage(): void;
|
|
133
|
-
gotoProcessRetroRemission(): void;
|
|
134
148
|
confirmRetroRemission(): void;
|
|
135
149
|
processRefund(): void;
|
|
136
150
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
137
151
|
gotoIssueRefundPage(): void;
|
|
138
|
-
|
|
152
|
+
gotoIssuePage(): void;
|
|
153
|
+
getRefundReasons(): void;
|
|
154
|
+
getErrorClass(elementId: any): void;
|
|
139
155
|
changeIssueRefundReason(): void;
|
|
140
156
|
confirmIssueRefund(): void;
|
|
141
157
|
confirmRetroRefund(): void;
|
|
142
158
|
selectRadioButton(key: any, value: any): void;
|
|
143
159
|
selectchange(args: any): void;
|
|
144
|
-
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
145
160
|
gotoServiceRequestPage(event: any): void;
|
|
146
|
-
gotoAddressPage(): void;
|
|
147
|
-
gotoRemissionSuccess(event: Event): void;
|
|
148
161
|
gotoCasetransationPage(): void;
|
|
149
162
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
150
163
|
resetOrderData(): void;
|
|
@@ -67,6 +67,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
67
67
|
isAddRemissionEnable: boolean;
|
|
68
68
|
orderRemissionDetails: any[];
|
|
69
69
|
orderLevelFees: IOrderReferenceFee[];
|
|
70
|
+
ispaymentGroupApisuccess: boolean;
|
|
70
71
|
cpoDetails: any;
|
|
71
72
|
orderRef: string;
|
|
72
73
|
orderStatus: string;
|
|
@@ -86,6 +87,8 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
86
87
|
isAddRemissionBtnEnabled: boolean;
|
|
87
88
|
isRefundRemissionBtnEnable: boolean;
|
|
88
89
|
allowedRolesToAccessRefund: string[];
|
|
90
|
+
isEligible4PBAPayment: string[];
|
|
91
|
+
currentDate: Date;
|
|
89
92
|
isFromServiceRequestPage: boolean;
|
|
90
93
|
navigationpage: string;
|
|
91
94
|
remissionFeeAmt: number;
|
|
@@ -122,5 +125,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
122
125
|
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
123
126
|
chkIsRefundRemissionBtnEnable(): boolean;
|
|
124
127
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
128
|
+
check4AllowedRoles2AccessPBApayment: () => boolean;
|
|
125
129
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
130
|
+
loadPBAAccountPage(orderRef: IPayment): void;
|
|
126
131
|
}
|
|
@@ -48,6 +48,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
48
48
|
serviceReference: string;
|
|
49
49
|
isFromServiceRequestPage: boolean;
|
|
50
50
|
isFromPaymentDetailPage: boolean;
|
|
51
|
+
paymentFees: IFee[];
|
|
51
52
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
52
53
|
ngAfterContentChecked(): void;
|
|
53
54
|
ngOnInit(): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
3
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
export declare class PbaPaymentComponent implements OnInit {
|
|
5
|
+
private paymentLibComponent;
|
|
6
|
+
private paymentViewService;
|
|
7
|
+
pbaPayOrderRef: any;
|
|
8
|
+
viewStatus: string;
|
|
9
|
+
pbaAccountList: string[];
|
|
10
|
+
errorMsg: any;
|
|
11
|
+
isCardPaymentSuccess: boolean;
|
|
12
|
+
isInSufficiantFund: boolean;
|
|
13
|
+
isPBAAccountNotExist: boolean;
|
|
14
|
+
isPBAServerError: boolean;
|
|
15
|
+
isGetPBAAccountSucceed: boolean;
|
|
16
|
+
selectedPbaAccount: string;
|
|
17
|
+
pbaAccountRef: string;
|
|
18
|
+
isContinueButtondisabled: boolean;
|
|
19
|
+
isPBAAccountPaymentSuccess: boolean;
|
|
20
|
+
pbaAccountrPaymentResult: any;
|
|
21
|
+
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
selectpbaaccount(args: any): void;
|
|
24
|
+
saveAndContinue(): void;
|
|
25
|
+
cardPayment(): void;
|
|
26
|
+
gotoCasetransationPage(): void;
|
|
27
|
+
}
|
|
@@ -41,6 +41,7 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
41
41
|
successMsg: string;
|
|
42
42
|
navigationpage: string;
|
|
43
43
|
ccdCaseNumber: string;
|
|
44
|
+
isFromRefundListPage: boolean;
|
|
44
45
|
isConfirmButtondisabled: boolean;
|
|
45
46
|
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
46
47
|
ngOnInit(): void;
|
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
3
|
-
import { NotificationService } from '../../services/notification/notification.service';
|
|
4
3
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
4
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
|
-
import {
|
|
5
|
+
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
9
8
|
import { IRefundStatus } from '../../interfaces/IRefundStatus';
|
|
10
9
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
11
10
|
export declare class RefundStatusComponent implements OnInit {
|
|
12
11
|
private formBuilder;
|
|
13
12
|
private refundService;
|
|
14
|
-
private notificationService;
|
|
15
13
|
private paymentLibComponent;
|
|
14
|
+
private paymentViewService;
|
|
15
|
+
private router;
|
|
16
16
|
private OrderslistService;
|
|
17
17
|
LOGGEDINUSERROLES: string[];
|
|
18
18
|
isOldPcipalOff: boolean;
|
|
19
19
|
isNewPcipalOff: boolean;
|
|
20
20
|
ccdCaseNumber: string;
|
|
21
21
|
isTurnOff: boolean;
|
|
22
|
-
orderParty: string;
|
|
23
22
|
refundStatusForm: FormGroup;
|
|
24
23
|
selectedRefundReason: string;
|
|
25
24
|
rejectedRefundList: IRefundList[];
|
|
26
|
-
notificationList: IRefundsNotifications;
|
|
27
|
-
notification: IRefundsNotifications;
|
|
28
25
|
approvalStatus: string;
|
|
29
26
|
rejectStatus: string;
|
|
30
27
|
errorMessage: any;
|
|
@@ -41,11 +38,6 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
41
38
|
refundHasError: boolean;
|
|
42
39
|
refundReasons: any[];
|
|
43
40
|
refundStatusHistories: IRefundStatus[];
|
|
44
|
-
refundNotifications: IRefundStatus[];
|
|
45
|
-
isResendOperationSuccess: boolean;
|
|
46
|
-
isEditDetailsClicked: boolean;
|
|
47
|
-
isEditAddressDeatilsClicked: boolean;
|
|
48
|
-
addressDetails: IRefundContactDetails;
|
|
49
41
|
refundReference: string;
|
|
50
42
|
refundAmount: string;
|
|
51
43
|
refundCode: string;
|
|
@@ -57,11 +49,10 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
57
49
|
isProcessRefund: boolean;
|
|
58
50
|
changedAmount: number;
|
|
59
51
|
allowedRolesToAccessRefund: string[];
|
|
60
|
-
constructor(formBuilder: FormBuilder, refundService: RefundsService,
|
|
52
|
+
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
61
53
|
ngOnInit(): void;
|
|
62
54
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
63
55
|
getRefundsStatusHistoryList(): void;
|
|
64
|
-
getRefundsNotification(): void;
|
|
65
56
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
66
57
|
loadCaseTransactionPage(): void;
|
|
67
58
|
loadRefundListPage(): void;
|
|
@@ -75,11 +66,5 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
75
66
|
getRefundListReason(refundListReason: any): void;
|
|
76
67
|
getRefundAmount(amount: number): void;
|
|
77
68
|
gotoReviewRefundConfirmationPage(): void;
|
|
78
|
-
gotoEditAddressDetails(note: IRefundsNotifications): void;
|
|
79
|
-
getContactDetails(obj: IRefundContactDetails): void;
|
|
80
|
-
gotoEditDetailsPage(): void;
|
|
81
|
-
submitEditDetail(): void;
|
|
82
|
-
putResend(notification: IRefundsNotifications): void;
|
|
83
|
-
gotoCasetransationPageCancelBtnClicked(obj: any): void;
|
|
84
69
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
85
70
|
}
|
|
@@ -27,6 +27,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
27
27
|
orderRemissionTotal: number;
|
|
28
28
|
takePayment: boolean;
|
|
29
29
|
ccdCaseNumber: boolean;
|
|
30
|
+
isServiceRequest: string;
|
|
30
31
|
servicerequest: string;
|
|
31
32
|
excReference: string;
|
|
32
33
|
paymentGroups: any[];
|
|
@@ -97,6 +98,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
97
98
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
98
99
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
99
100
|
issueRefund(payment: IPayment): void;
|
|
101
|
+
goToServiceRequestPage(event: any): void;
|
|
100
102
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
101
103
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
102
104
|
resetOrderData(): void;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export declare class PostIssueRefundRetroRemission {
|
|
3
2
|
remissionReference: string;
|
|
4
|
-
|
|
5
|
-
constructor(remissionReference: string, contactDeatils: any);
|
|
3
|
+
constructor(remissionReference: string);
|
|
6
4
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export declare class PostRefundRetroRemission {
|
|
2
|
+
ccd_case_number: string;
|
|
3
3
|
payment_reference: string;
|
|
4
4
|
refund_reason: string;
|
|
5
|
-
|
|
6
|
-
|
|
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[]);
|
|
7
10
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
|
2
2
|
import { PaymentLibService } from './payment-lib.service';
|
|
3
3
|
import { IBSPayments } from './interfaces/IBSPayments';
|
|
4
4
|
import { OrderslistService } from './services/orderslist.service';
|
|
5
|
+
import { IPayment } from './interfaces/IPayment';
|
|
5
6
|
export declare class PaymentLibComponent implements OnInit {
|
|
6
7
|
private paymentLibService;
|
|
7
8
|
private cd;
|
|
@@ -9,7 +10,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
9
10
|
API_ROOT: string;
|
|
10
11
|
BULKSCAN_API_ROOT: string;
|
|
11
12
|
REFUNDS_API_ROOT: string;
|
|
12
|
-
NOTIFICATION_API_ROOT: string;
|
|
13
13
|
CCD_CASE_NUMBER: string;
|
|
14
14
|
EXC_REFERENCE: string;
|
|
15
15
|
PAYMENT_METHOD: string;
|
|
@@ -51,6 +51,7 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
51
51
|
isFromRefundStatusPage: boolean;
|
|
52
52
|
iscancelClicked: boolean;
|
|
53
53
|
isFromPaymentDetailPage: boolean;
|
|
54
|
+
pbaPayOrderRef: IPayment;
|
|
54
55
|
isTakePayment: boolean;
|
|
55
56
|
orderDetail: any[];
|
|
56
57
|
orderRef: string;
|
|
@@ -2,7 +2,6 @@ export declare class PaymentLibService {
|
|
|
2
2
|
API_ROOT: string;
|
|
3
3
|
BULKSCAN_API_ROOT: string;
|
|
4
4
|
REFUNDS_API_ROOT: string;
|
|
5
|
-
NOTIFICATION_API_ROOT: string;
|
|
6
5
|
constructor();
|
|
7
6
|
setApiRootUrl(apiRoot: string): void;
|
|
8
7
|
getApiRootUrl(): string;
|
|
@@ -10,6 +9,4 @@ export declare class PaymentLibService {
|
|
|
10
9
|
getBulkScanApiRootUrl(): string;
|
|
11
10
|
setRefundndsApiRootUrl(refundsapiRoot: string): void;
|
|
12
11
|
getRefundsApiRootUrl(): string;
|
|
13
|
-
setNoticationApiRootUrl(notificationapiRoot: string): void;
|
|
14
|
-
getNoticationApiRootUrl(): string;
|
|
15
12
|
}
|
|
@@ -15,6 +15,8 @@ import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest'
|
|
|
15
15
|
import { IAllocationPaymentsRequest } from '../../interfaces/IAllocationPaymentsRequest';
|
|
16
16
|
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
17
17
|
import { BehaviorSubject } from 'rxjs';
|
|
18
|
+
import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
|
|
19
|
+
import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
|
|
18
20
|
import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
|
|
19
21
|
import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
|
|
20
22
|
import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
|
|
@@ -30,6 +32,9 @@ export declare class PaymentViewService {
|
|
|
30
32
|
getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
|
|
31
33
|
getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
|
|
32
34
|
getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
|
|
35
|
+
getPBAaccountDetails(): Observable<any>;
|
|
36
|
+
postWays2PayCardPayment(serviceRef: string, body: IserviceRequestCardPayment): Observable<any>;
|
|
37
|
+
postPBAaccountPayment(serviceRef: string, body: IserviceRequestPbaPayment): Observable<any>;
|
|
33
38
|
postBSPayments(body: AllocatePaymentRequest): Observable<any>;
|
|
34
39
|
postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
|
|
35
40
|
postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
|
|
@@ -9,7 +9,6 @@ import { IPatchRefundAction } from '../../interfaces/IPatchRefundAction';
|
|
|
9
9
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
10
10
|
import { IssueRefundRequest } from '../../interfaces/IssueRefundRequest';
|
|
11
11
|
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
-
import { IPutNotificationRequest } from '../../interfaces/IPutNotificationRequest';
|
|
13
12
|
export declare class RefundsService {
|
|
14
13
|
private http;
|
|
15
14
|
private https;
|
|
@@ -26,7 +25,6 @@ export declare class RefundsService {
|
|
|
26
25
|
getRefundStatusList(ccdCaseNumber: string): Observable<IRefundList[]>;
|
|
27
26
|
getUserDetails(): Observable<any>;
|
|
28
27
|
postIssueRefund(body: IssueRefundRequest): Observable<any>;
|
|
29
|
-
putResendOrEdit(body: IPutNotificationRequest, refundRef: string, notificationType: string): Observable<any>;
|
|
30
28
|
patchResubmitRefund(body: IResubmitRefundRequest, refund_reference: string): Observable<any>;
|
|
31
29
|
addHeaders(options: any): any;
|
|
32
30
|
}
|