@hmcts/ccpay-web-component 6.0.0-beta18 → 6.0.0-beta20

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.
Files changed (45) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +96 -408
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +31 -32
  6. package/esm2015/lib/components/case-transactions/case-transactions.component.js +25 -48
  7. package/esm2015/lib/components/payment-view/payment-view.component.js +2 -2
  8. package/esm2015/lib/components/service-request/service-request.component.js +9 -22
  9. package/esm2015/lib/payment-lib.component.js +4 -10
  10. package/esm2015/lib/payment-lib.module.js +3 -3
  11. package/esm2015/lib/payment-lib.service.js +1 -16
  12. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -35
  13. package/esm2015/lib/services/refunds/refunds.service.js +16 -3
  14. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +16 -3
  15. package/esm5/hmcts-ccpay-web-component.js +31 -32
  16. package/esm5/lib/components/case-transactions/case-transactions.component.js +25 -54
  17. package/esm5/lib/components/payment-view/payment-view.component.js +2 -2
  18. package/esm5/lib/components/service-request/service-request.component.js +9 -25
  19. package/esm5/lib/payment-lib.component.js +3 -8
  20. package/esm5/lib/payment-lib.module.js +3 -3
  21. package/esm5/lib/payment-lib.service.js +1 -23
  22. package/esm5/lib/services/payment-view/payment-view.service.js +1 -48
  23. package/esm5/lib/services/refunds/refunds.service.js +16 -3
  24. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +16 -3
  25. package/fesm2015/hmcts-ccpay-web-component.js +69 -340
  26. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  27. package/fesm5/hmcts-ccpay-web-component.js +68 -381
  28. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  29. package/hmcts-ccpay-web-component.d.ts +30 -31
  30. package/hmcts-ccpay-web-component.metadata.json +1 -1
  31. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -5
  32. package/lib/components/service-request/service-request.component.d.ts +0 -2
  33. package/lib/payment-lib.component.d.ts +0 -3
  34. package/lib/payment-lib.service.d.ts +0 -3
  35. package/lib/services/payment-view/payment-view.service.d.ts +0 -5
  36. package/package.json +1 -1
  37. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -244
  38. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  39. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  40. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -265
  41. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  42. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  43. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -32
  44. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  45. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
@@ -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
  }
@@ -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(): void;
102
100
  goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
103
101
  goToPaymentViewComponent(paymentGroup: any): void;
104
102
  resetOrderData(): void;
@@ -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
- CARDPAYMENTRETURNURL: 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
- CARDPAYMENTRETURNURL: 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
- setCardPaymentReturnUrl(cardPaymentReturnUrl: string): void;
14
- getCardPaymentReturnUrl(): 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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "6.0.0-beta18",
3
+ "version": "6.0.0-beta20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,244 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
- import { PaymentLibComponent } from '../../payment-lib.component';
8
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
9
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
10
- /** @type {?} */
11
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
12
- export class PbaPaymentComponent {
13
- /**
14
- * @param {?} paymentLibComponent
15
- * @param {?} paymentViewService
16
- */
17
- constructor(paymentLibComponent, paymentViewService) {
18
- this.paymentLibComponent = paymentLibComponent;
19
- this.paymentViewService = paymentViewService;
20
- this.isPBAAccountHold = false;
21
- this.isCardPaymentSuccess = true;
22
- this.isInSufficiantFund = false;
23
- this.isPBAAccountNotExist = false;
24
- this.isPBAServerError = false;
25
- this.isGetPBAAccountSucceed = false;
26
- this.selectedPbaAccount = '';
27
- this.pbaAccountRef = '';
28
- this.isPbaAccountSelected = false;
29
- this.isCardPaymentSelected = false;
30
- this.isPBADropdownSelected = false;
31
- this.isContinueButtondisabled = true;
32
- this.isPBAAccountPaymentSuccess = false;
33
- }
34
- /**
35
- * @return {?}
36
- */
37
- ngOnInit() {
38
- this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
39
- this.viewStatus = 'pba-payment';
40
- this.errorMsg = null;
41
- this.paymentViewService.getPBAaccountDetails()
42
- .subscribe((/**
43
- * @param {?} result
44
- * @return {?}
45
- */
46
- result => {
47
- this.isGetPBAAccountSucceed = true;
48
- this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
49
- }), (/**
50
- * @param {?} error
51
- * @return {?}
52
- */
53
- error => {
54
- this.errorMsg = error;
55
- }));
56
- }
57
- /**
58
- * @param {?} args
59
- * @return {?}
60
- */
61
- selectpbaaccount(args) {
62
- if (args.currentTarget.id === 'pbaAccountNumber') {
63
- this.isPBADropdownSelected = true;
64
- this.selectedPbaAccount = args.target.value;
65
- }
66
- if (args.currentTarget.id === 'pbaAccountRef') {
67
- this.pbaAccountRef = args.target.value;
68
- }
69
- if (this.selectedPbaAccount !== '' && this.pbaAccountRef !== "") {
70
- this.isContinueButtondisabled = false;
71
- }
72
- else {
73
- this.isContinueButtondisabled = true;
74
- }
75
- }
76
- /**
77
- * @return {?}
78
- */
79
- saveAndContinue() {
80
- if (this.isPbaAccountSelected) {
81
- this.isInSufficiantFund = false;
82
- this.isPBAAccountNotExist = false;
83
- this.isPBAServerError = false;
84
- this.isPBAAccountPaymentSuccess = false;
85
- if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
86
- /** @type {?} */
87
- const requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef);
88
- this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
89
- .subscribe((/**
90
- * @param {?} r
91
- * @return {?}
92
- */
93
- r => {
94
- try {
95
- this.pbaAccountrPaymentResult = JSON.parse(r);
96
- }
97
- catch (e) {
98
- this.pbaAccountrPaymentResult = r;
99
- }
100
- this.isPBAAccountPaymentSuccess = true;
101
- }), (/**
102
- * @param {?} e
103
- * @return {?}
104
- */
105
- e => {
106
- if (e.status == '402') {
107
- this.isInSufficiantFund = true;
108
- }
109
- else if (e.status == '410') {
110
- this.isPBAAccountNotExist = true;
111
- }
112
- else if (e.status == '412') {
113
- this.isPBAAccountHold = true;
114
- }
115
- else {
116
- this.isPBAServerError = true;
117
- }
118
- }));
119
- }
120
- else {
121
- this.isPBAServerError = true;
122
- }
123
- }
124
- else if (this.isCardPaymentSelected) {
125
- this.cardPayment();
126
- }
127
- }
128
- /**
129
- * @return {?}
130
- */
131
- cardPayment() {
132
- this.isCardPaymentSuccess = true;
133
- /** @type {?} */
134
- const requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
135
- this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
136
- .subscribe((/**
137
- * @param {?} result
138
- * @return {?}
139
- */
140
- result => {
141
- /** @type {?} */
142
- const paymentUrl = JSON.parse(result).next_url;
143
- window.location.href = paymentUrl;
144
- }), (/**
145
- * @param {?} error
146
- * @return {?}
147
- */
148
- error => {
149
- this.isCardPaymentSuccess = false;
150
- }));
151
- }
152
- /**
153
- * @param {?} type
154
- * @return {?}
155
- */
156
- selectPaymentMethod(type) {
157
- if (type === 'PBA') {
158
- this.isPbaAccountSelected = true;
159
- this.isCardPaymentSelected = false;
160
- this.isPBADropdownSelected = false;
161
- this.isContinueButtondisabled = true;
162
- this.selectedPbaAccount = null;
163
- }
164
- else if (type === 'CARD') {
165
- this.isPbaAccountSelected = false;
166
- this.isCardPaymentSelected = true;
167
- this.isPBADropdownSelected = false;
168
- this.isContinueButtondisabled = false;
169
- }
170
- }
171
- /**
172
- * @return {?}
173
- */
174
- gotoCasetransationPage() {
175
- this.paymentLibComponent.viewName = 'case-transactions';
176
- this.paymentLibComponent.TAKEPAYMENT = false;
177
- this.paymentLibComponent.ISBSENABLE = true;
178
- this.paymentLibComponent.isFromServiceRequestPage = true;
179
- }
180
- }
181
- PbaPaymentComponent.decorators = [
182
- { type: Component, args: [{
183
- selector: 'ccpay-pba-payment',
184
- template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n\n <div class=\"govuk-breadcrumbs\" *ngIf=\"!errorMsg && !isPBAAccountPaymentSuccess && !isCardPaymentSuccess\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link pba-payments-16-font\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountHold && !isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n \n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also pay by credit or debit card.\n </li>\n </ul>\n </div>\n </div>\n <!-- <h1 class=\"heading-medium margin-top-10-px\">Pay fee using Payment by Account (PBA)</h1> -->\n <div class=\"govuk-form-group margin-top-10-px\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">{{pbaPayOrderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</span>\n </div>\n\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"contact-hint\">\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"pbaAccount\" name=\"paymentSelection\" type=\"radio\" value=\"PBA\" (click)=\"selectPaymentMethod('PBA')\" data-aria-controls=\"pba-account\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"pbaAccount\">\n Pay fee using Payment by Account (PBA)\n </label>\n </div>\n <div class=\"govuk-radios__conditional\" id=\"conditional-contact\" *ngIf=\"isPbaAccountSelected\">\n <div class=\"govuk-form-group pba-payments-select-box--size\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font pba-payment-width\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size pba-payments-19-font\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n \n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"cardPayment\" name=\"paymentSelection\" type=\"radio\" value=\"card\" (click)=\"selectPaymentMethod('CARD')\" data-aria-controls=\"card-payment\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"cardPayment\">\n Pay by credit or debit card\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button--group\" *ngIf=\"errorMsg\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"!errorMsg\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n <span *ngIf=\"!isPBADropdownSelected\">Continue</span>\n <span *ngIf=\"isPBADropdownSelected\">Confirm payment</span>\n </button>\n </div>\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountHold && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) has been put on hold.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <!-- <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p> -->\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
185
- styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-font-bld{font-weight:700}.pba-payments-16-font{font-size:16px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}.pba-payment-width{width:75%}.margin-top-10-px{margin-top:10px}.govuk-error-summary:focus{outline:#fd0 solid 3px}.govuk-body-width{width:750px}"]
186
- }] }
187
- ];
188
- /** @nocollapse */
189
- PbaPaymentComponent.ctorParameters = () => [
190
- { type: PaymentLibComponent },
191
- { type: PaymentViewService }
192
- ];
193
- PbaPaymentComponent.propDecorators = {
194
- pbaPayOrderRef: [{ type: Input }]
195
- };
196
- if (false) {
197
- /** @type {?} */
198
- PbaPaymentComponent.prototype.pbaPayOrderRef;
199
- /** @type {?} */
200
- PbaPaymentComponent.prototype.viewStatus;
201
- /** @type {?} */
202
- PbaPaymentComponent.prototype.pbaAccountList;
203
- /** @type {?} */
204
- PbaPaymentComponent.prototype.isPBAAccountHold;
205
- /** @type {?} */
206
- PbaPaymentComponent.prototype.errorMsg;
207
- /** @type {?} */
208
- PbaPaymentComponent.prototype.isCardPaymentSuccess;
209
- /** @type {?} */
210
- PbaPaymentComponent.prototype.isInSufficiantFund;
211
- /** @type {?} */
212
- PbaPaymentComponent.prototype.isPBAAccountNotExist;
213
- /** @type {?} */
214
- PbaPaymentComponent.prototype.isPBAServerError;
215
- /** @type {?} */
216
- PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
217
- /** @type {?} */
218
- PbaPaymentComponent.prototype.selectedPbaAccount;
219
- /** @type {?} */
220
- PbaPaymentComponent.prototype.pbaAccountRef;
221
- /** @type {?} */
222
- PbaPaymentComponent.prototype.isPbaAccountSelected;
223
- /** @type {?} */
224
- PbaPaymentComponent.prototype.isCardPaymentSelected;
225
- /** @type {?} */
226
- PbaPaymentComponent.prototype.isPBADropdownSelected;
227
- /** @type {?} */
228
- PbaPaymentComponent.prototype.isContinueButtondisabled;
229
- /** @type {?} */
230
- PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
231
- /** @type {?} */
232
- PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
233
- /**
234
- * @type {?}
235
- * @private
236
- */
237
- PbaPaymentComponent.prototype.paymentLibComponent;
238
- /**
239
- * @type {?}
240
- * @private
241
- */
242
- PbaPaymentComponent.prototype.paymentViewService;
243
- }
244
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDRDQUE0QyxDQUFDOztNQUVqRixjQUFjLEdBQUcsdUJBQXVCO0FBTzlDLE1BQU0sT0FBTyxtQkFBbUI7Ozs7O0lBb0I5QixZQUFxQixtQkFBd0MsRUFDbkQsa0JBQXNDO1FBRDNCLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7UUFDbkQsdU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AgaWYodGhpcy5pc1BiYUFjY291bnRTZWxlY3RlZCkge1xuICAgICAgdGhpcy5pc0luU3VmZmljaWFudEZ1bmQgPSBmYWxzZTtcbiAgICAgIHRoaXMuaXNQQkFBY2NvdW50Tm90RXhpc3QgPSBmYWxzZTtcbiAgICAgIHRoaXMuaXNQQkFTZXJ2ZXJFcnJvciA9IGZhbHNlO1xuICAgICAgdGhpcy5pc1BCQUFjY291bnRQYXltZW50U3VjY2VzcyA9IGZhbHNlO1xuICAgICAgaWYgKCB0aGlzLnBiYUFjY291bnRMaXN0LmluZGV4T2YodGhpcy5zZWxlY3RlZFBiYUFjY291bnQpICE9PSAtMSApIHtcbiAgICAgICAgY29uc3QgcmVxdWVzdEJvZHkgPSBuZXcgSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudChcbiAgICAgICAgICB0aGlzLnNlbGVjdGVkUGJhQWNjb3VudCwgdGhpcy5wYmFQYXlPcmRlclJlZi5vcmRlclRvdGFsRmVlcywgdGhpcy5wYmFBY2NvdW50UmVmKTtcbiAgICAgICAgdGhpcy5wYXltZW50Vmlld1NlcnZpY2UucG9zdFBCQWFjY291bnRQYXltZW50KHRoaXMucGJhUGF5T3JkZXJSZWYub3JkZXJSZWZJZCwgcmVxdWVzdEJvZHkpXG4gICAgICAgIC5zdWJzY3JpYmUoXG4gICAgICAgICAgciA9PiB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICB0aGlzLnBiYUFjY291bnRyUGF5bWVudFJlc3VsdCA9IEpTT04ucGFyc2Uocik7XG4gICAgICAgICAgICB9IGNhdGNoKGUpIHtcbiAgICAgICAgICAgICAgdGhpcy5wYmFBY2NvdW50clBheW1lbnRSZXN1bHQgPSByO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5pc1BCQUFjY291bnRQYXltZW50U3VjY2VzcyA9IHRydWU7XG4gICAgICAgICAgfSxcbiAgICAgICAgICBlID0+IHtcbiAgICAgICAgICAgIGlmKGUuc3R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lbnQuSVNCU0VOQUJMRSA9IHRydWU7XG4gICAgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LmlzRnJvbVNlcnZpY2VSZXF1ZXN0UGFnZSA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestCardPayment {
6
- /**
7
- * @param {?} amount
8
- */
9
- constructor(amount) {
10
- this.amount = amount;
11
- this.currency = 'GBP';
12
- this.language = 'string';
13
- }
14
- }
15
- if (false) {
16
- /** @type {?} */
17
- IserviceRequestCardPayment.prototype.amount;
18
- /** @type {?} */
19
- IserviceRequestCardPayment.prototype.currency;
20
- /** @type {?} */
21
- IserviceRequestCardPayment.prototype.language;
22
- }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0Q2FyZFBheW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL0lzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxNQUFNLE9BQU8sMEJBQTBCOzs7O0lBS25DLFlBQVksTUFBZTtRQUN2QixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUNyQixJQUFJLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUM3QixDQUFDO0NBQ0o7OztJQVRHLDRDQUFjOztJQUNkLDhDQUFnQjs7SUFDaEIsOENBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIElzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50IHtcbiAgICBhbW91bnQ6IHN0cmluZ1xuICAgIGN1cnJlbmN5OiBzdHJpbmdcbiAgICBsYW5ndWFnZTogc3RyaW5nXG4gICAgXG4gICAgY29uc3RydWN0b3IoYW1vdW50IDogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuYW1vdW50ID0gYW1vdW50O1xuICAgICAgICB0aGlzLmN1cnJlbmN5ID0gJ0dCUCc7XG4gICAgICAgIHRoaXMubGFuZ3VhZ2UgPSAnc3RyaW5nJztcbiAgICB9IFxufVxuICAgICJdfQ==
@@ -1,28 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestPbaPayment {
6
- /**
7
- * @param {?} account_number
8
- * @param {?} amount
9
- * @param {?} customer_reference
10
- */
11
- constructor(account_number, amount, customer_reference) {
12
- this.account_number = account_number;
13
- this.amount = amount;
14
- this.currency = 'GBP';
15
- this.customer_reference = customer_reference;
16
- }
17
- }
18
- if (false) {
19
- /** @type {?} */
20
- IserviceRequestPbaPayment.prototype.account_number;
21
- /** @type {?} */
22
- IserviceRequestPbaPayment.prototype.amount;
23
- /** @type {?} */
24
- IserviceRequestPbaPayment.prototype.currency;
25
- /** @type {?} */
26
- IserviceRequestPbaPayment.prototype.customer_reference;
27
- }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2ludGVyZmFjZXMvSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsTUFBTSxPQUFPLHlCQUF5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