@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,222 +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
|
-
var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
|
|
12
|
-
var PbaPaymentComponent = /** @class */ (function () {
|
|
13
|
-
function PbaPaymentComponent(paymentLibComponent, paymentViewService) {
|
|
14
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
15
|
-
this.paymentViewService = paymentViewService;
|
|
16
|
-
this.isPBAAccountHold = false;
|
|
17
|
-
this.isCardPaymentSuccess = true;
|
|
18
|
-
this.isInSufficiantFund = false;
|
|
19
|
-
this.isPBAAccountNotExist = false;
|
|
20
|
-
this.isPBAServerError = false;
|
|
21
|
-
this.isGetPBAAccountSucceed = false;
|
|
22
|
-
this.selectedPbaAccount = '';
|
|
23
|
-
this.pbaAccountRef = '';
|
|
24
|
-
this.isContinueButtondisabled = true;
|
|
25
|
-
this.isPBAAccountPaymentSuccess = false;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @return {?}
|
|
29
|
-
*/
|
|
30
|
-
PbaPaymentComponent.prototype.ngOnInit = /**
|
|
31
|
-
* @return {?}
|
|
32
|
-
*/
|
|
33
|
-
function () {
|
|
34
|
-
var _this = this;
|
|
35
|
-
this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
|
|
36
|
-
this.viewStatus = 'pba-payment';
|
|
37
|
-
this.errorMsg = null;
|
|
38
|
-
this.paymentViewService.getPBAaccountDetails()
|
|
39
|
-
.subscribe((/**
|
|
40
|
-
* @param {?} result
|
|
41
|
-
* @return {?}
|
|
42
|
-
*/
|
|
43
|
-
function (result) {
|
|
44
|
-
_this.isGetPBAAccountSucceed = true;
|
|
45
|
-
_this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
|
|
46
|
-
}), (/**
|
|
47
|
-
* @param {?} error
|
|
48
|
-
* @return {?}
|
|
49
|
-
*/
|
|
50
|
-
function (error) {
|
|
51
|
-
_this.errorMsg = error;
|
|
52
|
-
}));
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* @param {?} args
|
|
56
|
-
* @return {?}
|
|
57
|
-
*/
|
|
58
|
-
PbaPaymentComponent.prototype.selectpbaaccount = /**
|
|
59
|
-
* @param {?} args
|
|
60
|
-
* @return {?}
|
|
61
|
-
*/
|
|
62
|
-
function (args) {
|
|
63
|
-
if (args.currentTarget.id === 'pbaAccountNumber') {
|
|
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
|
-
PbaPaymentComponent.prototype.saveAndContinue = /**
|
|
80
|
-
* @return {?}
|
|
81
|
-
*/
|
|
82
|
-
function () {
|
|
83
|
-
var _this = this;
|
|
84
|
-
this.isInSufficiantFund = false;
|
|
85
|
-
this.isPBAAccountNotExist = false;
|
|
86
|
-
this.isPBAServerError = false;
|
|
87
|
-
this.isPBAAccountPaymentSuccess = false;
|
|
88
|
-
if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
|
|
89
|
-
/** @type {?} */
|
|
90
|
-
var requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef);
|
|
91
|
-
this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
|
|
92
|
-
.subscribe((/**
|
|
93
|
-
* @param {?} r
|
|
94
|
-
* @return {?}
|
|
95
|
-
*/
|
|
96
|
-
function (r) {
|
|
97
|
-
_this.pbaAccountrPaymentResult = JSON.parse(r).data;
|
|
98
|
-
_this.isPBAAccountPaymentSuccess = true;
|
|
99
|
-
}), (/**
|
|
100
|
-
* @param {?} e
|
|
101
|
-
* @return {?}
|
|
102
|
-
*/
|
|
103
|
-
function (e) {
|
|
104
|
-
if (e.status == '402') {
|
|
105
|
-
_this.isInSufficiantFund = true;
|
|
106
|
-
}
|
|
107
|
-
else if (e.status == '410') {
|
|
108
|
-
_this.isPBAAccountNotExist = true;
|
|
109
|
-
}
|
|
110
|
-
else if (e.status == '412') {
|
|
111
|
-
_this.isPBAAccountHold = true;
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
_this.isPBAServerError = true;
|
|
115
|
-
}
|
|
116
|
-
}));
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
this.isPBAServerError = true;
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* @return {?}
|
|
124
|
-
*/
|
|
125
|
-
PbaPaymentComponent.prototype.cardPayment = /**
|
|
126
|
-
* @return {?}
|
|
127
|
-
*/
|
|
128
|
-
function () {
|
|
129
|
-
var _this = this;
|
|
130
|
-
this.isCardPaymentSuccess = true;
|
|
131
|
-
/** @type {?} */
|
|
132
|
-
var requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
|
|
133
|
-
this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
|
|
134
|
-
.subscribe((/**
|
|
135
|
-
* @param {?} result
|
|
136
|
-
* @return {?}
|
|
137
|
-
*/
|
|
138
|
-
function (result) {
|
|
139
|
-
/** @type {?} */
|
|
140
|
-
var paymentUrl = JSON.parse(result).next_url;
|
|
141
|
-
window.location.href = paymentUrl;
|
|
142
|
-
}), (/**
|
|
143
|
-
* @param {?} error
|
|
144
|
-
* @return {?}
|
|
145
|
-
*/
|
|
146
|
-
function (error) {
|
|
147
|
-
_this.isCardPaymentSuccess = false;
|
|
148
|
-
}));
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* @return {?}
|
|
152
|
-
*/
|
|
153
|
-
PbaPaymentComponent.prototype.gotoCasetransationPage = /**
|
|
154
|
-
* @return {?}
|
|
155
|
-
*/
|
|
156
|
-
function () {
|
|
157
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
158
|
-
this.paymentLibComponent.TAKEPAYMENT = false;
|
|
159
|
-
this.paymentLibComponent.ISBSENABLE = true;
|
|
160
|
-
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
161
|
-
};
|
|
162
|
-
PbaPaymentComponent.decorators = [
|
|
163
|
-
{ type: Component, args: [{
|
|
164
|
-
selector: 'ccpay-pba-payment',
|
|
165
|
-
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 && !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\">\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 pba-payments-select-box--size\" *ngIf=\"!errorMsg\">\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 <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 Continue\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",
|
|
166
|
-
styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.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}"]
|
|
167
|
-
}] }
|
|
168
|
-
];
|
|
169
|
-
/** @nocollapse */
|
|
170
|
-
PbaPaymentComponent.ctorParameters = function () { return [
|
|
171
|
-
{ type: PaymentLibComponent },
|
|
172
|
-
{ type: PaymentViewService }
|
|
173
|
-
]; };
|
|
174
|
-
PbaPaymentComponent.propDecorators = {
|
|
175
|
-
pbaPayOrderRef: [{ type: Input }]
|
|
176
|
-
};
|
|
177
|
-
return PbaPaymentComponent;
|
|
178
|
-
}());
|
|
179
|
-
export { PbaPaymentComponent };
|
|
180
|
-
if (false) {
|
|
181
|
-
/** @type {?} */
|
|
182
|
-
PbaPaymentComponent.prototype.pbaPayOrderRef;
|
|
183
|
-
/** @type {?} */
|
|
184
|
-
PbaPaymentComponent.prototype.viewStatus;
|
|
185
|
-
/** @type {?} */
|
|
186
|
-
PbaPaymentComponent.prototype.pbaAccountList;
|
|
187
|
-
/** @type {?} */
|
|
188
|
-
PbaPaymentComponent.prototype.isPBAAccountHold;
|
|
189
|
-
/** @type {?} */
|
|
190
|
-
PbaPaymentComponent.prototype.errorMsg;
|
|
191
|
-
/** @type {?} */
|
|
192
|
-
PbaPaymentComponent.prototype.isCardPaymentSuccess;
|
|
193
|
-
/** @type {?} */
|
|
194
|
-
PbaPaymentComponent.prototype.isInSufficiantFund;
|
|
195
|
-
/** @type {?} */
|
|
196
|
-
PbaPaymentComponent.prototype.isPBAAccountNotExist;
|
|
197
|
-
/** @type {?} */
|
|
198
|
-
PbaPaymentComponent.prototype.isPBAServerError;
|
|
199
|
-
/** @type {?} */
|
|
200
|
-
PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
|
|
201
|
-
/** @type {?} */
|
|
202
|
-
PbaPaymentComponent.prototype.selectedPbaAccount;
|
|
203
|
-
/** @type {?} */
|
|
204
|
-
PbaPaymentComponent.prototype.pbaAccountRef;
|
|
205
|
-
/** @type {?} */
|
|
206
|
-
PbaPaymentComponent.prototype.isContinueButtondisabled;
|
|
207
|
-
/** @type {?} */
|
|
208
|
-
PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
|
|
209
|
-
/** @type {?} */
|
|
210
|
-
PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
|
|
211
|
-
/**
|
|
212
|
-
* @type {?}
|
|
213
|
-
* @private
|
|
214
|
-
*/
|
|
215
|
-
PbaPaymentComponent.prototype.paymentLibComponent;
|
|
216
|
-
/**
|
|
217
|
-
* @type {?}
|
|
218
|
-
* @private
|
|
219
|
-
*/
|
|
220
|
-
PbaPaymentComponent.prototype.paymentViewService;
|
|
221
|
-
}
|
|
222
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDRDQUE0QyxDQUFDOztJQUVqRixjQUFjLEdBQUcsdUJBQXVCO0FBRTlDO0lBdUJFLDZCQUFxQixtQkFBd0MsRUFDbkQsa0JBQXNDO1FBRDNCLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7UUFDbkQsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFvQjtRQWZoRCxxQkFBZ0IsR0FBWSxLQUFLLENBQUM7UUFFbEMseUJBQW9CLEdBQVksSUFBSSxDQUFDO1FBQ3JDLHVCQUFrQixHQUFZLEtBQUssQ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-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
var IPutNotificationRequest = /** @class */ (function () {
|
|
6
|
-
function IPutNotificationRequest(contactDetails, notificationType) {
|
|
7
|
-
if (notificationType === 'EMAIL') {
|
|
8
|
-
this.recipient_email_address = contactDetails;
|
|
9
|
-
}
|
|
10
|
-
else if (notificationType === 'LETTER') {
|
|
11
|
-
this.recipient_postal_address = contactDetails;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return IPutNotificationRequest;
|
|
15
|
-
}());
|
|
16
|
-
export { IPutNotificationRequest };
|
|
17
|
-
if (false) {
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IPutNotificationRequest.prototype.recipient_email_address;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IPutNotificationRequest.prototype.recipient_postal_address;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVB1dE5vdGlmaWNhdGlvblJlcXVlc3QuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL0lQdXROb3RpZmljYXRpb25SZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFFQTtJQUlJLGlDQUFZLGNBQW1CLEVBQUUsZ0JBQXdCO1FBQ3ZELElBQUcsZ0JBQWdCLEtBQUssT0FBTyxFQUFFO1lBQy9CLElBQUksQ0FBQyx1QkFBdUIsR0FBRyxjQUFjLENBQUM7U0FDL0M7YUFBTSxJQUFHLGdCQUFnQixLQUFLLFFBQVEsRUFBRTtZQUN2QyxJQUFJLENBQUMsd0JBQXdCLEdBQUcsY0FBYyxDQUFDO1NBQ2hEO0lBQ0gsQ0FBQztJQUNMLDhCQUFDO0FBQUQsQ0FBQyxBQVhELElBV0M7Ozs7SUFWQywwREFBaUM7O0lBQ2pDLDJEQUFnRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElSZWZ1bmRDb250YWN0RGV0YWlscyB9IGZyb20gJy4vSVJlZnVuZENvbnRhY3REZXRhaWxzJztcblxuZXhwb3J0IGNsYXNzIElQdXROb3RpZmljYXRpb25SZXF1ZXN0IHtcbiAgcmVjaXBpZW50X2VtYWlsX2FkZHJlc3M/OiBzdHJpbmc7XG4gIHJlY2lwaWVudF9wb3N0YWxfYWRkcmVzcz86IElSZWZ1bmRDb250YWN0RGV0YWlsc1xuICBcbiAgICBjb25zdHJ1Y3Rvcihjb250YWN0RGV0YWlsczogYW55LCBub3RpZmljYXRpb25UeXBlOiBzdHJpbmcpIHtcbiAgICAgIGlmKG5vdGlmaWNhdGlvblR5cGUgPT09ICdFTUFJTCcpIHtcbiAgICAgICAgdGhpcy5yZWNpcGllbnRfZW1haWxfYWRkcmVzcyA9IGNvbnRhY3REZXRhaWxzO1xuICAgICAgfSBlbHNlIGlmKG5vdGlmaWNhdGlvblR5cGUgPT09ICdMRVRURVInKSB7XG4gICAgICAgIHRoaXMucmVjaXBpZW50X3Bvc3RhbF9hZGRyZXNzID0gY29udGFjdERldGFpbHM7XG4gICAgICB9XG4gICAgfSBcbn0iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IRefundContactDetails() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?|undefined} */
|
|
11
|
-
IRefundContactDetails.prototype.address_line;
|
|
12
|
-
/** @type {?|undefined} */
|
|
13
|
-
IRefundContactDetails.prototype.city;
|
|
14
|
-
/** @type {?|undefined} */
|
|
15
|
-
IRefundContactDetails.prototype.country;
|
|
16
|
-
/** @type {?|undefined} */
|
|
17
|
-
IRefundContactDetails.prototype.county;
|
|
18
|
-
/** @type {?|undefined} */
|
|
19
|
-
IRefundContactDetails.prototype.email;
|
|
20
|
-
/** @type {?|undefined} */
|
|
21
|
-
IRefundContactDetails.prototype.notification_type;
|
|
22
|
-
/** @type {?|undefined} */
|
|
23
|
-
IRefundContactDetails.prototype.postal_code;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVJlZnVuZENvbnRhY3REZXRhaWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUmVmdW5kQ29udGFjdERldGFpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLDJDQVFDOzs7SUFQQyw2Q0FBc0I7O0lBQ3RCLHFDQUFjOztJQUNkLHdDQUFpQjs7SUFDakIsdUNBQWdCOztJQUNoQixzQ0FBZTs7SUFDZixrREFBMkI7O0lBQzNCLDRDQUFxQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVJlZnVuZENvbnRhY3REZXRhaWxzIHtcbiAgYWRkcmVzc19saW5lPzogc3RyaW5nO1xuICBjaXR5Pzogc3RyaW5nO1xuICBjb3VudHJ5Pzogc3RyaW5nO1xuICBjb3VudHk/OiBzdHJpbmc7XG4gIGVtYWlsPzogc3RyaW5nO1xuICBub3RpZmljYXRpb25fdHlwZT86IHN0cmluZztcbiAgcG9zdGFsX2NvZGU/OiBzdHJpbmc7XG59Il19
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IRefundsNotifications() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IRefundsNotifications.prototype.contact_details;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IRefundsNotifications.prototype.date_created;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IRefundsNotifications.prototype.date_updated;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IRefundsNotifications.prototype.notification_type;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IRefundsNotifications.prototype.reference;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVJlZnVuZHNOb3RpZmljYXRpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUmVmdW5kc05vdGlmaWNhdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLDJDQWVHOzs7SUFkQyxnREFTSTs7SUFDRiw2Q0FBcUI7O0lBQ3JCLDZDQUFxQjs7SUFDckIsa0RBQTBCOztJQUMxQiwwQ0FBaUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElSZWZ1bmRzTm90aWZpY2F0aW9ucyB7XG4gICAgY29udGFjdF9kZXRhaWxzOiB7XG4gICAgICAgIGFkZHJlc3NfbGluZTogc3RyaW5nLFxuICAgICAgICBjaXR5OiBzdHJpbmcsXG4gICAgICAgIGNvdW50cnk6IHN0cmluZyxcbiAgICAgICAgY291bnR5OiBzdHJpbmcsXG4gICAgICAgIGRhdGVfY3JlYXRlZDogc3RyaW5nLFxuICAgICAgICBkYXRlX3VwZGF0ZWQ6IHN0cmluZyxcbiAgICAgICAgZW1haWw6IHN0cmluZyxcbiAgICAgICAgcG9zdGFsX2NvZGU6IHN0cmluZ1xuICAgICAgfSxcbiAgICAgIGRhdGVfY3JlYXRlZDogc3RyaW5nLFxuICAgICAgZGF0ZV91cGRhdGVkOiBzdHJpbmcsXG4gICAgICBub3RpZmljYXRpb25fdHlwZTogc3RyaW5nLFxuICAgICAgcmVmZXJlbmNlOiBzdHJpbmdcbiAgfSJdfQ==
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
var IserviceRequestCardPayment = /** @class */ (function () {
|
|
6
|
-
function IserviceRequestCardPayment(amount) {
|
|
7
|
-
this.amount = amount;
|
|
8
|
-
this.currency = 'GBP';
|
|
9
|
-
this.language = 'string';
|
|
10
|
-
}
|
|
11
|
-
return IserviceRequestCardPayment;
|
|
12
|
-
}());
|
|
13
|
-
export { IserviceRequestCardPayment };
|
|
14
|
-
if (false) {
|
|
15
|
-
/** @type {?} */
|
|
16
|
-
IserviceRequestCardPayment.prototype.amount;
|
|
17
|
-
/** @type {?} */
|
|
18
|
-
IserviceRequestCardPayment.prototype.currency;
|
|
19
|
-
/** @type {?} */
|
|
20
|
-
IserviceRequestCardPayment.prototype.language;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0Q2FyZFBheW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL0lzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTtJQUtJLG9DQUFZLE1BQWU7UUFDdkIsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFDckIsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7UUFDdEIsSUFBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUM7SUFDN0IsQ0FBQztJQUNMLGlDQUFDO0FBQUQsQ0FBQyxBQVZELElBVUM7Ozs7SUFURyw0Q0FBYzs7SUFDZCw4Q0FBZ0I7O0lBQ2hCLDhDQUFnQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJc2VydmljZVJlcXVlc3RDYXJkUGF5bWVudCB7XG4gICAgYW1vdW50OiBzdHJpbmdcbiAgICBjdXJyZW5jeTogc3RyaW5nXG4gICAgbGFuZ3VhZ2U6IHN0cmluZ1xuICAgIFxuICAgIGNvbnN0cnVjdG9yKGFtb3VudCA6IHN0cmluZykge1xuICAgICAgICB0aGlzLmFtb3VudCA9IGFtb3VudDtcbiAgICAgICAgdGhpcy5jdXJyZW5jeSA9ICdHQlAnO1xuICAgICAgICB0aGlzLmxhbmd1YWdlID0gJ3N0cmluZyc7XG4gICAgfSBcbn1cbiAgICAiXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
var IserviceRequestPbaPayment = /** @class */ (function () {
|
|
6
|
-
function IserviceRequestPbaPayment(account_number, amount, customer_reference) {
|
|
7
|
-
this.account_number = account_number;
|
|
8
|
-
this.amount = amount;
|
|
9
|
-
this.currency = 'GBP';
|
|
10
|
-
this.customer_reference = customer_reference;
|
|
11
|
-
}
|
|
12
|
-
return IserviceRequestPbaPayment;
|
|
13
|
-
}());
|
|
14
|
-
export { IserviceRequestPbaPayment };
|
|
15
|
-
if (false) {
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IserviceRequestPbaPayment.prototype.account_number;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IserviceRequestPbaPayment.prototype.amount;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IserviceRequestPbaPayment.prototype.currency;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
IserviceRequestPbaPayment.prototype.customer_reference;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2ludGVyZmFjZXMvSXNlcnZpY2VSZXF1ZXN0UGJhUGF5bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUE7SUFNSSxtQ0FBWSxjQUF1QixFQUFHLE1BQWUsRUFBRSxrQkFBMEI7UUFDN0UsSUFBSSxDQUFDLGNBQWMsR0FBRyxjQUFjLENBQUM7UUFDckMsSUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFDckIsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7UUFDdEIsSUFBSSxDQUFDLGtCQUFrQixHQUFHLGtCQUFrQixDQUFDO0lBQ2pELENBQUM7SUFDTCxnQ0FBQztBQUFELENBQUMsQUFaRCxJQVlDOzs7O0lBWEcsbURBQXVCOztJQUN2QiwyQ0FBYzs7SUFDZCw2Q0FBZ0I7O0lBQ2hCLHVEQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJc2VydmljZVJlcXVlc3RQYmFQYXltZW50IHtcbiAgICBhY2NvdW50X251bWJlcjogc3RyaW5nO1xuICAgIGFtb3VudDogc3RyaW5nXG4gICAgY3VycmVuY3k6IHN0cmluZ1xuICAgIGN1c3RvbWVyX3JlZmVyZW5jZTogc3RyaW5nXG4gICAgXG4gICAgY29uc3RydWN0b3IoYWNjb3VudF9udW1iZXIgOiBzdHJpbmcsICBhbW91bnQgOiBzdHJpbmcsIGN1c3RvbWVyX3JlZmVyZW5jZTogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuYWNjb3VudF9udW1iZXIgPSBhY2NvdW50X251bWJlcjtcbiAgICAgICAgdGhpcy5hbW91bnQgPSBhbW91bnQ7XG4gICAgICAgIHRoaXMuY3VycmVuY3kgPSAnR0JQJztcbiAgICAgICAgdGhpcy5jdXN0b21lcl9yZWZlcmVuY2UgPSBjdXN0b21lcl9yZWZlcmVuY2U7XG4gICAgfSBcbn1cbiAgICAiXX0=
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { HttpClient } from '@angular/common/http';
|
|
7
|
-
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
8
|
-
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
9
|
-
import { PaymentLibService } from '../../payment-lib.service';
|
|
10
|
-
import { catchError } from 'rxjs/operators';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/common/http";
|
|
13
|
-
import * as i2 from "../shared/httpclient/webcomponent.http.client";
|
|
14
|
-
import * as i3 from "../shared/error-handler.service";
|
|
15
|
-
import * as i4 from "../../payment-lib.service";
|
|
16
|
-
var NotificationService = /** @class */ (function () {
|
|
17
|
-
function NotificationService(http, https, errorHandlerService, paymentLibService) {
|
|
18
|
-
this.http = http;
|
|
19
|
-
this.https = https;
|
|
20
|
-
this.errorHandlerService = errorHandlerService;
|
|
21
|
-
this.paymentLibService = paymentLibService;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @param {?} reference
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
NotificationService.prototype.getRefundNotification = /**
|
|
28
|
-
* @param {?} reference
|
|
29
|
-
* @return {?}
|
|
30
|
-
*/
|
|
31
|
-
function (reference) {
|
|
32
|
-
return this.http.get(this.paymentLibService.NOTIFICATION_API_ROOT + "/notifications/" + reference, {
|
|
33
|
-
withCredentials: true
|
|
34
|
-
})
|
|
35
|
-
.pipe(catchError(this.errorHandlerService.handleError));
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @param {?} postcode
|
|
39
|
-
* @return {?}
|
|
40
|
-
*/
|
|
41
|
-
NotificationService.prototype.getAddressByPostcode = /**
|
|
42
|
-
* @param {?} postcode
|
|
43
|
-
* @return {?}
|
|
44
|
-
*/
|
|
45
|
-
function (postcode) {
|
|
46
|
-
return this.http.get(this.paymentLibService.NOTIFICATION_API_ROOT + "/search/places/v1/postcode?postcode=" + postcode, {
|
|
47
|
-
withCredentials: true
|
|
48
|
-
})
|
|
49
|
-
.pipe(catchError(this.errorHandlerService.handleError));
|
|
50
|
-
};
|
|
51
|
-
NotificationService.decorators = [
|
|
52
|
-
{ type: Injectable, args: [{
|
|
53
|
-
providedIn: 'root'
|
|
54
|
-
},] }
|
|
55
|
-
];
|
|
56
|
-
/** @nocollapse */
|
|
57
|
-
NotificationService.ctorParameters = function () { return [
|
|
58
|
-
{ type: HttpClient },
|
|
59
|
-
{ type: WebComponentHttpClient },
|
|
60
|
-
{ type: ErrorHandlerService },
|
|
61
|
-
{ type: PaymentLibService }
|
|
62
|
-
]; };
|
|
63
|
-
/** @nocollapse */ NotificationService.ngInjectableDef = i0.defineInjectable({ factory: function NotificationService_Factory() { return new NotificationService(i0.inject(i1.HttpClient), i0.inject(i2.WebComponentHttpClient), i0.inject(i3.ErrorHandlerService), i0.inject(i4.PaymentLibService)); }, token: NotificationService, providedIn: "root" });
|
|
64
|
-
return NotificationService;
|
|
65
|
-
}());
|
|
66
|
-
export { NotificationService };
|
|
67
|
-
if (false) {
|
|
68
|
-
/**
|
|
69
|
-
* @type {?}
|
|
70
|
-
* @private
|
|
71
|
-
*/
|
|
72
|
-
NotificationService.prototype.http;
|
|
73
|
-
/**
|
|
74
|
-
* @type {?}
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
NotificationService.prototype.https;
|
|
78
|
-
/**
|
|
79
|
-
* @type {?}
|
|
80
|
-
* @private
|
|
81
|
-
*/
|
|
82
|
-
NotificationService.prototype.errorHandlerService;
|
|
83
|
-
/**
|
|
84
|
-
* @type {?}
|
|
85
|
-
* @private
|
|
86
|
-
*/
|
|
87
|
-
NotificationService.prototype.paymentLibService;
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLGlDQUFpQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3ZGLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBRTVELE9BQU8sRUFBQyxVQUFVLEV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ventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
-
import { NotificationService } from '../../services/notification/notification.service';
|
|
5
|
-
export declare class ContactDetailsComponent implements OnInit {
|
|
6
|
-
private formBuilder;
|
|
7
|
-
private notificationService;
|
|
8
|
-
private paymentLibComponent;
|
|
9
|
-
isEditOperation: boolean;
|
|
10
|
-
addressObj: any;
|
|
11
|
-
assignContactDetails: EventEmitter<any>;
|
|
12
|
-
redirectToIssueRefund: EventEmitter<any>;
|
|
13
|
-
pageTitle: string;
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
isEmailSAddressClicked: boolean;
|
|
16
|
-
isShowPickAddress: boolean;
|
|
17
|
-
isPostcodeClicked: boolean;
|
|
18
|
-
isManualAddressClicked: boolean;
|
|
19
|
-
emailAddressForm: FormGroup;
|
|
20
|
-
postCodeForm: FormGroup;
|
|
21
|
-
manualAddressForm: FormGroup;
|
|
22
|
-
addressPostcodeList: any[];
|
|
23
|
-
postcodeAddress: any;
|
|
24
|
-
isEmailEmpty: boolean;
|
|
25
|
-
emailHasError: boolean;
|
|
26
|
-
isPostcodeEmpty: boolean;
|
|
27
|
-
postcodeHasError: boolean;
|
|
28
|
-
isaddressLine1Empty: boolean;
|
|
29
|
-
addressLine1HasError: boolean;
|
|
30
|
-
addressLine2HasError: boolean;
|
|
31
|
-
isTownOrCityEmpty: boolean;
|
|
32
|
-
townOrCityHasError: boolean;
|
|
33
|
-
isCountyEmpty: boolean;
|
|
34
|
-
countyHasError: boolean;
|
|
35
|
-
isMPostcodeEmpty: boolean;
|
|
36
|
-
mpostcodeHasError: boolean;
|
|
37
|
-
isCountryEmpty: boolean;
|
|
38
|
-
constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent);
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
setEditDetails(): void;
|
|
41
|
-
selectContactOption(type: any, isLinkedClied: any): void;
|
|
42
|
-
finalFormSubmit(): void;
|
|
43
|
-
postcodeValidation(str: any): void;
|
|
44
|
-
redirection(event: any): void;
|
|
45
|
-
resetForm(val: any, field: any): void;
|
|
46
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
3
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
-
export declare class PbaPaymentComponent implements OnInit {
|
|
5
|
-
private paymentLibComponent;
|
|
6
|
-
private paymentViewService;
|
|
7
|
-
pbaPayOrderRef: any;
|
|
8
|
-
viewStatus: string;
|
|
9
|
-
pbaAccountList: string[];
|
|
10
|
-
isPBAAccountHold: boolean;
|
|
11
|
-
errorMsg: any;
|
|
12
|
-
isCardPaymentSuccess: boolean;
|
|
13
|
-
isInSufficiantFund: boolean;
|
|
14
|
-
isPBAAccountNotExist: boolean;
|
|
15
|
-
isPBAServerError: boolean;
|
|
16
|
-
isGetPBAAccountSucceed: boolean;
|
|
17
|
-
selectedPbaAccount: string;
|
|
18
|
-
pbaAccountRef: string;
|
|
19
|
-
isContinueButtondisabled: boolean;
|
|
20
|
-
isPBAAccountPaymentSuccess: boolean;
|
|
21
|
-
pbaAccountrPaymentResult: any;
|
|
22
|
-
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService);
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
selectpbaaccount(args: any): void;
|
|
25
|
-
saveAndContinue(): void;
|
|
26
|
-
cardPayment(): void;
|
|
27
|
-
gotoCasetransationPage(): void;
|
|
28
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface IRefundsNotifications {
|
|
2
|
-
contact_details: {
|
|
3
|
-
address_line: string;
|
|
4
|
-
city: string;
|
|
5
|
-
country: string;
|
|
6
|
-
county: string;
|
|
7
|
-
date_created: string;
|
|
8
|
-
date_updated: string;
|
|
9
|
-
email: string;
|
|
10
|
-
postal_code: string;
|
|
11
|
-
};
|
|
12
|
-
date_created: string;
|
|
13
|
-
date_updated: string;
|
|
14
|
-
notification_type: string;
|
|
15
|
-
reference: string;
|
|
16
|
-
}
|