@hmcts/ccpay-web-component 6.2.3-beta5 → 6.2.3-beta7
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/esm2022/lib/components/add-remission/add-remission.component.mjs +2 -2
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +11 -9
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +28 -18
- package/esm2022/lib/components/service-request/service-request.component.mjs +28 -18
- package/esm2022/lib/payment-lib.component.mjs +2 -2
- package/fesm2022/hmcts-ccpay-web-component.mjs +66 -44
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -1
- package/lib/components/payment-view/payment-view.component.d.ts +2 -2
- package/lib/components/service-request/service-request.component.d.ts +2 -2
- package/lib/payment-lib.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -103,7 +103,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
103
103
|
redirectToOrderFeeSearchPage(event: any, orderef: any): void;
|
|
104
104
|
calculateAmounts(): void;
|
|
105
105
|
isThereRemissions(): boolean;
|
|
106
|
-
|
|
106
|
+
calculateOverpaymentBasedOnRemission(): void;
|
|
107
107
|
calculateAmountDueTo(): void;
|
|
108
108
|
validateAmountDueTo(): void;
|
|
109
109
|
calculateOverpaymentBaseOnAcceptedRefund(): void;
|
|
@@ -8,7 +8,6 @@ import { IRemission } from '../../interfaces/IRemission';
|
|
|
8
8
|
import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
|
|
9
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
10
10
|
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
11
|
-
import { IRefundList } from "../../interfaces/IRefundList";
|
|
12
11
|
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
13
12
|
import * as i0 from "@angular/core";
|
|
14
13
|
type PaymentLibAlias = PaymentLibComponent;
|
|
@@ -86,16 +85,17 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
86
85
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
87
86
|
goToPaymentViewComponent(): void;
|
|
88
87
|
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
88
|
+
isTheCurrentRefundRejectedForTheFee(feeCode: string): boolean;
|
|
89
89
|
isAnyRefundsForThisCase(): boolean;
|
|
90
90
|
showOverPayment(): void;
|
|
91
91
|
showIssueRefundPage(paymentgrp: IPaymentGroup): void;
|
|
92
92
|
getBalanceToBePaid(): number;
|
|
93
|
-
getRefundByFeeID(feeCode: string): IRefundList;
|
|
94
93
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
95
94
|
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
96
95
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
97
96
|
canItBeRefunded(remission: IRemission): boolean;
|
|
98
97
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
98
|
+
isTheCurrentRefundInProcessForThisFee(fee: IFee): boolean;
|
|
99
99
|
selectPymentOption(paymentType: string): void;
|
|
100
100
|
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
101
101
|
gotoPaymentSelectPage(event: Event): void;
|
|
@@ -10,7 +10,6 @@ import { PaymentViewService } from '../../services/payment-view/payment-view.ser
|
|
|
10
10
|
import { NotificationService } from '../../services/notification/notification.service';
|
|
11
11
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
12
|
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
13
|
-
import { IRefundList } from "../../interfaces/IRefundList";
|
|
14
13
|
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
type PaymentLibAlias = PaymentLibComponent;
|
|
@@ -113,17 +112,18 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
113
112
|
cancelRemoval(): void;
|
|
114
113
|
removeFee(fee: any): void;
|
|
115
114
|
issueRefund(payment: IPayment): void;
|
|
115
|
+
isTheCurrentRefundRejectedForTheFee(feeCode: string): boolean;
|
|
116
116
|
isAnyRefundsForThisCase(): boolean;
|
|
117
117
|
showOverPayment(paymentgrp: IPaymentGroup, payment: any): void;
|
|
118
118
|
showIssueRefundPage(paymentgrp: IPaymentGroup, payment: any): void;
|
|
119
119
|
getBalanceToBePaid(): number;
|
|
120
|
-
getRefundByFeeID(feeCode: string): IRefundList;
|
|
121
120
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
122
121
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
123
122
|
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
124
123
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
125
124
|
canItBeRefunded(remission: IRemission): boolean;
|
|
126
125
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
126
|
+
isTheCurrentRefundInProcessForThisFee(fee: IFee): boolean;
|
|
127
127
|
resetOrderData(): void;
|
|
128
128
|
selectPymentOption(paymentType: string): void;
|
|
129
129
|
goToPaymentViewComp(): void;
|
|
@@ -69,7 +69,7 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
69
69
|
orderTotalPayments: number;
|
|
70
70
|
orderPendingPayments: number;
|
|
71
71
|
paymentGroup: IPaymentGroup;
|
|
72
|
-
|
|
72
|
+
overPaymentAmount: number;
|
|
73
73
|
refunds: IRefundList[];
|
|
74
74
|
constructor(paymentLibService: PaymentLibService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
75
75
|
ngAfterContentChecked(): void;
|