@hmcts/ccpay-web-component 6.2.2-beta3 → 6.2.3-beta2

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.
@@ -1,5 +1,4 @@
1
1
  import { OnInit } from '@angular/core';
2
- import type { PaymentLibComponent } from '../../payment-lib.component';
3
2
  import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
4
3
  import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
5
4
  import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
@@ -11,6 +10,7 @@ import { IRemission } from '../../interfaces/IRemission';
11
10
  import { IPaymentView } from '../../interfaces/IPaymentView';
12
11
  import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
13
12
  import { Router } from '@angular/router';
13
+ import type { PaymentLibComponent } from '../../payment-lib.component';
14
14
  import * as i0 from "@angular/core";
15
15
  type PaymentLibAlias = PaymentLibComponent;
16
16
  export declare class CaseTransactionsComponent implements OnInit {
@@ -106,6 +106,7 @@ export declare class CaseTransactionsComponent implements OnInit {
106
106
  calculateOverpayment(): void;
107
107
  calculateAmountDueTo(): void;
108
108
  validateAmountDueTo(): void;
109
+ calculateOverpaymentBaseOnAcceptedRefund(): void;
109
110
  canItCalculateAmountDueForRemission(): boolean;
110
111
  calculateRefundAmount(): number;
111
112
  getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
@@ -1,9 +1,11 @@
1
1
  import { IFee } from './IFee';
2
2
  import { IPayment } from './IPayment';
3
3
  import { IRemission } from './IRemission';
4
+ import { IRefundList } from "./IRefundList";
4
5
  export interface IPaymentGroup {
5
6
  payment_group_reference: string;
6
7
  payments: IPayment[];
7
8
  remissions: IRemission[];
8
9
  fees: IFee[];
10
+ refunds: IRefundList[];
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "6.2.2-beta3",
3
+ "version": " 6.2.3-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },