@hmcts/ccpay-web-component 6.5.21-beta1 → 6.5.21-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.
package/index.d.ts CHANGED
@@ -418,6 +418,16 @@ declare class PaymentLibComponent implements OnInit {
418
418
  * @param feeCode this is the fee code used to find out all refunds rejected refunds.
419
419
  */
420
420
  isTheCurrentRefundRejectedForTheFee(feeCode: string): boolean;
421
+ /**
422
+ * Determines whether the "over payment" panel should be displayed.
423
+ * If there is a refund in process it will display the overPayment panel.
424
+ * The panel should be shown only when there is at least one refund and
425
+ * all refunds are in the same terminal state: either all "Rejected" or all "Accepted".
426
+ * This method is defensive against null/undefined `refunds` and missing `refund_status`.
427
+ *
428
+ * @returns {boolean} true if the over payment panel should be displayed, otherwise false.
429
+ */
430
+ shouldItDisplayOverPaymentPanel(): boolean;
421
431
  /**
422
432
  * Rounds very small values to zero if they fall below a specified threshold.
423
433
  *
@@ -1230,6 +1240,7 @@ declare class FeeSummaryComponent implements OnInit {
1230
1240
  totalFee: number;
1231
1241
  payhubHtml: SafeHtml;
1232
1242
  service: string;
1243
+ platForm: string;
1233
1244
  upPaymentErrorMessage: string;
1234
1245
  selectedOption: string;
1235
1246
  isBackButtonEnable: boolean;
@@ -1256,8 +1267,10 @@ declare class FeeSummaryComponent implements OnInit {
1256
1267
  takePayment(): void;
1257
1268
  goToAllocatePage(outStandingAmount: number, isFeeAmountZero: Boolean): void;
1258
1269
  isCheckAmountdueExist(amountDue: any): amountDue is undefined;
1270
+ getAntennaValue(): string;
1259
1271
  getKervValue(): string;
1260
1272
  getPaymentMethod(): string;
1273
+ setPaymentValue(value: string): void;
1261
1274
  isTakePaymentButtonDisabled(): boolean;
1262
1275
  isTelephonySelectionEnable(): boolean;
1263
1276
  isTelephonySelectionEnableNull(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "6.5.21-beta1",
3
+ "version": "6.5.21-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },