@hmcts/ccpay-web-component 5.0.1-beta137 → 5.0.1-beta138
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 +124 -1554
- 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 +31 -34
- package/esm2015/lib/components/add-remission/add-remission.component.js +44 -525
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +4 -32
- package/esm2015/lib/components/payment-view/payment-view.component.js +2 -5
- package/esm2015/lib/components/process-refund/process-refund.component.js +3 -31
- package/esm2015/lib/components/refund-status/refund-status.component.js +27 -149
- package/esm2015/lib/components/service-request/service-request.component.js +9 -28
- package/esm2015/lib/interfaces/IRefundList.js +1 -3
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -18
- package/esm2015/lib/payment-lib.component.js +4 -10
- 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 +1 -29
- package/esm2015/lib/services/refunds/refunds.service.js +1 -10
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm5/hmcts-ccpay-web-component.js +31 -34
- package/esm5/lib/components/add-remission/add-remission.component.js +50 -640
- package/esm5/lib/components/case-transactions/case-transactions.component.js +4 -38
- package/esm5/lib/components/payment-view/payment-view.component.js +2 -5
- package/esm5/lib/components/process-refund/process-refund.component.js +3 -30
- package/esm5/lib/components/refund-status/refund-status.component.js +25 -177
- package/esm5/lib/components/service-request/service-request.component.js +9 -32
- package/esm5/lib/interfaces/IRefundList.js +1 -3
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -14
- package/esm5/lib/payment-lib.component.js +3 -8
- 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 +1 -42
- package/esm5/lib/services/refunds/refunds.service.js +1 -16
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +90 -1347
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +90 -1549
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +30 -33
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +2 -35
- package/lib/components/case-transactions/case-transactions.component.d.ts +0 -5
- package/lib/components/payment-view/payment-view.component.d.ts +0 -1
- package/lib/components/process-refund/process-refund.component.d.ts +1 -5
- package/lib/components/refund-status/refund-status.component.d.ts +5 -20
- package/lib/components/service-request/service-request.component.d.ts +0 -2
- package/lib/interfaces/IRefundList.d.ts +0 -2
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -6
- package/lib/payment-lib.component.d.ts +0 -3
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/payment-view/payment-view.service.d.ts +0 -5
- 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 -399
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
- 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/interfaces/IserviceRequestCardPayment.js +0 -23
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -424
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
- 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/interfaces/IserviceRequestCardPayment.js +0 -22
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -46
- package/lib/components/pba-payment/pba-payment.component.d.ts +0 -28
- 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/interfaces/IserviceRequestCardPayment.d.ts +0 -6
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
- 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
|
|
2
|
+
import { FormBuilder, FormGroup } 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,11 +7,9 @@ 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';
|
|
14
|
-
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
15
13
|
export declare class AddRemissionComponent implements OnInit {
|
|
16
14
|
private formBuilder;
|
|
17
15
|
private router;
|
|
@@ -21,7 +19,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
21
19
|
private cd;
|
|
22
20
|
private OrderslistService;
|
|
23
21
|
fee: IFee;
|
|
24
|
-
fees: any[];
|
|
25
22
|
payment: IPayment;
|
|
26
23
|
remission: IRemission;
|
|
27
24
|
ccdCaseNumber: string;
|
|
@@ -63,8 +60,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
63
60
|
other: string;
|
|
64
61
|
};
|
|
65
62
|
};
|
|
66
|
-
contactDetailsObj: IRefundContactDetails;
|
|
67
|
-
notification: any;
|
|
68
63
|
remissionForm: FormGroup;
|
|
69
64
|
hasErrors: boolean;
|
|
70
65
|
viewStatus: string;
|
|
@@ -94,7 +89,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
94
89
|
isPaymentSuccess: boolean;
|
|
95
90
|
isRemissionApplied: boolean;
|
|
96
91
|
remissionamt: number;
|
|
97
|
-
elementId: any;
|
|
98
92
|
commonRefundReasons: any[];
|
|
99
93
|
showReasonText: boolean;
|
|
100
94
|
isRefundReasonsSelected: boolean;
|
|
@@ -105,18 +99,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
105
99
|
pattern2: string;
|
|
106
100
|
sendOrderDetail: any[];
|
|
107
101
|
sendOrderRef: string;
|
|
108
|
-
paymentReference: string;
|
|
109
|
-
class: string;
|
|
110
|
-
errorMsg: any[];
|
|
111
|
-
totalRefundAmount: number;
|
|
112
|
-
quantityUpdated: number;
|
|
113
|
-
fullRefund: boolean;
|
|
114
|
-
allowedRefundAmount: number;
|
|
115
|
-
isRemissionsMatch: boolean;
|
|
116
|
-
paymentFees: IFee[];
|
|
117
|
-
paymentGroup: IPaymentGroup;
|
|
118
|
-
isStatusAllocated: boolean;
|
|
119
|
-
isFromCheckAnsPage: boolean;
|
|
120
102
|
component: {
|
|
121
103
|
account_number: string;
|
|
122
104
|
amount: number;
|
|
@@ -138,40 +120,25 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
138
120
|
};
|
|
139
121
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
140
122
|
ngOnInit(): void;
|
|
141
|
-
refundFeesList(): void;
|
|
142
|
-
readonly feesList: FormArray;
|
|
143
|
-
noneSelected(): boolean;
|
|
144
|
-
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
145
|
-
onTextInputBlurHandler(event: any, v1: any): void;
|
|
146
123
|
addRemission(): void;
|
|
147
124
|
confirmRemission(): void;
|
|
148
125
|
resetRemissionForm(val: any, field: any): void;
|
|
149
126
|
addRemissionCode(): void;
|
|
150
127
|
gotoAddRetroRemissionCodePage(): void;
|
|
151
128
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
152
|
-
gotoAmountRetroRemission(): void;
|
|
153
129
|
gotoProcessRetroRemissionPage(): void;
|
|
154
|
-
gotoProcessRetroRemission(note?: IRefundContactDetails): void;
|
|
155
130
|
confirmRetroRemission(): void;
|
|
156
131
|
processRefund(): void;
|
|
157
132
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
158
133
|
gotoIssueRefundPage(): void;
|
|
159
|
-
gotoIssuePage(): void;
|
|
160
|
-
calAmtToRefund(event: any, amount: any, index: number): void;
|
|
161
|
-
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
162
|
-
getRefundReasons(): void;
|
|
163
|
-
getErrorClass(elementId: any): void;
|
|
164
134
|
changeIssueRefundReason(): void;
|
|
165
135
|
confirmIssueRefund(): void;
|
|
136
|
+
confirmRetroRefund(): void;
|
|
166
137
|
selectRadioButton(key: any, value: any): void;
|
|
167
138
|
selectchange(args: any): void;
|
|
168
|
-
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
169
139
|
gotoServiceRequestPage(event: any): void;
|
|
170
|
-
gotoAddressPage(): void;
|
|
171
|
-
gotoRemissionSuccess(event: Event): void;
|
|
172
140
|
gotoCasetransationPage(): void;
|
|
173
141
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
174
142
|
resetOrderData(): void;
|
|
175
|
-
changeRefundAmount(): void;
|
|
176
143
|
getFormattedCurrency(currency: number): string | number;
|
|
177
144
|
}
|
|
@@ -67,7 +67,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
67
67
|
isAddRemissionEnable: boolean;
|
|
68
68
|
orderRemissionDetails: any[];
|
|
69
69
|
orderLevelFees: IOrderReferenceFee[];
|
|
70
|
-
ispaymentGroupApisuccess: boolean;
|
|
71
70
|
cpoDetails: any;
|
|
72
71
|
orderRef: string;
|
|
73
72
|
orderStatus: string;
|
|
@@ -87,8 +86,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
87
86
|
isAddRemissionBtnEnabled: boolean;
|
|
88
87
|
isRefundRemissionBtnEnable: boolean;
|
|
89
88
|
allowedRolesToAccessRefund: string[];
|
|
90
|
-
isEligible4PBAPayment: string[];
|
|
91
|
-
currentDate: Date;
|
|
92
89
|
isFromServiceRequestPage: boolean;
|
|
93
90
|
navigationpage: string;
|
|
94
91
|
remissionFeeAmt: number;
|
|
@@ -125,7 +122,5 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
125
122
|
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
126
123
|
chkIsRefundRemissionBtnEnable(): boolean;
|
|
127
124
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
128
|
-
check4AllowedRoles2AccessPBApayment: () => boolean;
|
|
129
125
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
130
|
-
loadPBAAccountPage(orderRef: IPayment): void;
|
|
131
126
|
}
|
|
@@ -48,7 +48,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
48
48
|
serviceReference: string;
|
|
49
49
|
isFromServiceRequestPage: boolean;
|
|
50
50
|
isFromPaymentDetailPage: boolean;
|
|
51
|
-
paymentFees: IFee[];
|
|
52
51
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
53
52
|
ngAfterContentChecked(): void;
|
|
54
53
|
ngOnInit(): void;
|
|
@@ -5,12 +5,10 @@ import { IRefundAction } from '../../interfaces/IRefundAction';
|
|
|
5
5
|
import { IRefundList } from '../../interfaces/IRefundList';
|
|
6
6
|
import { IRefundRejectReason } from '../../interfaces/IRefundRejectReason';
|
|
7
7
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
8
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
9
8
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
10
9
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
11
10
|
export declare class ProcessRefundComponent implements OnInit {
|
|
12
11
|
private RefundsService;
|
|
13
|
-
private paymentViewService;
|
|
14
12
|
private formBuilder;
|
|
15
13
|
private OrderslistService;
|
|
16
14
|
private paymentLibComponent;
|
|
@@ -44,10 +42,8 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
44
42
|
navigationpage: string;
|
|
45
43
|
ccdCaseNumber: string;
|
|
46
44
|
isFromRefundListPage: boolean;
|
|
47
|
-
cpoDetails: any;
|
|
48
|
-
isCPODown: boolean;
|
|
49
45
|
isConfirmButtondisabled: boolean;
|
|
50
|
-
constructor(RefundsService: RefundsService,
|
|
46
|
+
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
51
47
|
ngOnInit(): void;
|
|
52
48
|
checkRefundActions(code: string): void;
|
|
53
49
|
processRefundSubmit(): 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: any;
|
|
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(note?: any): void;
|
|
81
|
-
submitEditDetail(): void;
|
|
82
|
-
putResend(notification: IRefundsNotifications): void;
|
|
83
|
-
gotoCasetransationPageCancelBtnClicked(Event: Event): void;
|
|
84
69
|
goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
|
|
85
70
|
}
|
|
@@ -27,7 +27,6 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
27
27
|
orderRemissionTotal: number;
|
|
28
28
|
takePayment: boolean;
|
|
29
29
|
ccdCaseNumber: boolean;
|
|
30
|
-
isServiceRequest: string;
|
|
31
30
|
servicerequest: string;
|
|
32
31
|
excReference: string;
|
|
33
32
|
paymentGroups: any[];
|
|
@@ -98,7 +97,6 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
98
97
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
99
98
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
100
99
|
issueRefund(payment: IPayment): void;
|
|
101
|
-
goToServiceRequestPage(event: any): void;
|
|
102
100
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
103
101
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
104
102
|
resetOrderData(): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
1
|
export interface IRefundList {
|
|
3
2
|
amount: number;
|
|
4
3
|
ccd_case_number: string;
|
|
@@ -11,6 +10,5 @@ export interface IRefundList {
|
|
|
11
10
|
description: string;
|
|
12
11
|
name: string;
|
|
13
12
|
};
|
|
14
|
-
contact_details: IRefundContactDetails;
|
|
15
13
|
user_full_name: string;
|
|
16
14
|
}
|
|
@@ -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,10 +1,5 @@
|
|
|
1
|
-
import { IRefundContactDetails } from "./IRefundContactDetails";
|
|
2
1
|
export declare class PostRefundRetroRemission {
|
|
3
|
-
ccd_case_number: string;
|
|
4
2
|
payment_reference: string;
|
|
5
3
|
refund_reason: string;
|
|
6
|
-
|
|
7
|
-
fees: any[];
|
|
8
|
-
contact_details: IRefundContactDetails;
|
|
9
|
-
constructor(ccd_case_number: string, payment_reference: string, refund_reason: string, refund_amount: any, fees: any[], contact_details: any);
|
|
4
|
+
constructor(payment_reference: string, refund_reason: string);
|
|
10
5
|
}
|
|
@@ -2,7 +2,6 @@ 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';
|
|
6
5
|
export declare class PaymentLibComponent implements OnInit {
|
|
7
6
|
private paymentLibService;
|
|
8
7
|
private cd;
|
|
@@ -10,7 +9,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
10
9
|
API_ROOT: string;
|
|
11
10
|
BULKSCAN_API_ROOT: string;
|
|
12
11
|
REFUNDS_API_ROOT: string;
|
|
13
|
-
NOTIFICATION_API_ROOT: string;
|
|
14
12
|
CCD_CASE_NUMBER: string;
|
|
15
13
|
EXC_REFERENCE: string;
|
|
16
14
|
PAYMENT_METHOD: string;
|
|
@@ -52,7 +50,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
52
50
|
isFromRefundStatusPage: boolean;
|
|
53
51
|
iscancelClicked: boolean;
|
|
54
52
|
isFromPaymentDetailPage: boolean;
|
|
55
|
-
pbaPayOrderRef: IPayment;
|
|
56
53
|
isTakePayment: boolean;
|
|
57
54
|
orderDetail: any[];
|
|
58
55
|
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,8 +15,6 @@ 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';
|
|
20
18
|
import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
|
|
21
19
|
import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
|
|
22
20
|
import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
|
|
@@ -32,9 +30,6 @@ export declare class PaymentViewService {
|
|
|
32
30
|
getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
|
|
33
31
|
getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
|
|
34
32
|
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>;
|
|
38
33
|
postBSPayments(body: AllocatePaymentRequest): Observable<any>;
|
|
39
34
|
postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
|
|
40
35
|
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
|
}
|