@hmcts/ccpay-web-component 5.0.8-beta14 → 5.0.10-beta01
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 +8672 -5390
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -15
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/hmcts-ccpay-web-component.js +6 -2
- package/esm2015/lib/components/add-remission/add-remission.component.js +445 -166
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +359 -61
- package/esm2015/lib/components/card-details/card-details.component.js +54 -15
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +697 -127
- package/esm2015/lib/components/error-banner/error-banner.component.js +25 -16
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +267 -59
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +191 -40
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +235 -44
- package/esm2015/lib/components/page-not-found.component.js +12 -10
- package/esm2015/lib/components/payment-list/payment-list.component.js +55 -15
- package/esm2015/lib/components/payment-view/payment-view.component.js +360 -115
- package/esm2015/lib/components/pba-details/pba-details.component.js +25 -16
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +129 -27
- package/esm2015/lib/components/process-refund/process-refund.component.js +189 -39
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +52 -22
- package/esm2015/lib/components/refund-list/refund-list.component.js +90 -32
- package/esm2015/lib/components/refund-status/refund-status.component.js +269 -58
- package/esm2015/lib/components/reports/reports.component.js +222 -39
- package/esm2015/lib/components/service-request/service-request.component.js +393 -108
- package/esm2015/lib/components/status-history/status-history.component.js +54 -19
- package/esm2015/lib/components/table/table.component.js +119 -39
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +202 -65
- package/esm2015/lib/interfaces/AddRemissionRequest.js +28 -1
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +15 -1
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +42 -1
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +26 -1
- package/esm2015/lib/interfaces/IBSPayments.js +45 -1
- package/esm2015/lib/interfaces/ICardDetails.js +21 -1
- package/esm2015/lib/interfaces/IFee.js +53 -1
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +25 -1
- package/esm2015/lib/interfaces/IPatchRefundAction.js +15 -1
- package/esm2015/lib/interfaces/IPayment.js +65 -1
- package/esm2015/lib/interfaces/IPaymentFailure.js +33 -1
- package/esm2015/lib/interfaces/IPaymentGroup.js +19 -1
- package/esm2015/lib/interfaces/IPaymentStatus.js +25 -1
- package/esm2015/lib/interfaces/IPaymentView.js +17 -1
- package/esm2015/lib/interfaces/IPayments.js +13 -1
- package/esm2015/lib/interfaces/IRefundAction.js +15 -1
- package/esm2015/lib/interfaces/IRefundList.js +29 -1
- package/esm2015/lib/interfaces/IRefundReasons.js +19 -1
- package/esm2015/lib/interfaces/IRefundRejectReason.js +15 -1
- package/esm2015/lib/interfaces/IRefundStatus.js +23 -1
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +15 -1
- package/esm2015/lib/interfaces/IRemission.js +25 -1
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +15 -1
- package/esm2015/lib/interfaces/IStatusHistories.js +19 -1
- package/esm2015/lib/interfaces/IStatusHistory.js +21 -1
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +16 -1
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +23 -1
- package/esm2015/lib/interfaces/IssueRefundRequest.js +18 -1
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +21 -2
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +27 -2
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +12 -1
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +15 -1
- package/esm2015/lib/interfaces/RefundsRequest.js +15 -1
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +20 -1
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +29 -1
- package/esm2015/lib/payment-lib.component.js +187 -120
- package/esm2015/lib/payment-lib.module.js +57 -55
- package/esm2015/lib/payment-lib.service.js +53 -12
- package/esm2015/lib/pipes/capitalize.pipe.js +19 -11
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +20 -11
- package/esm2015/lib/pipes/key-value.pipe.js +19 -11
- package/esm2015/lib/pipes/sanitize-html.pipe.js +26 -10
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +109 -22
- package/esm2015/lib/services/card-details/card-details.service.js +46 -15
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +46 -15
- package/esm2015/lib/services/orderslist.service.js +259 -12
- package/esm2015/lib/services/payment-list/payment-list.service.js +49 -15
- package/esm2015/lib/services/payment-view/payment-view.service.js +176 -18
- package/esm2015/lib/services/refunds/refunds.service.js +116 -21
- package/esm2015/lib/services/shared/error-handler.service.js +27 -12
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +87 -15
- package/esm2015/lib/services/shared/logger/console-logger.service.js +34 -12
- package/esm2015/lib/services/shared/logger/logger.service.js +42 -12
- package/esm2015/lib/services/status-history/status-history.service.js +47 -15
- package/esm2015/lib/services/xl-file/xl-file.service.js +66 -10
- package/esm2015/public_api.js +8 -4
- package/esm5/hmcts-ccpay-web-component.js +6 -2
- package/esm5/lib/components/add-remission/add-remission.component.js +541 -185
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +419 -75
- package/esm5/lib/components/card-details/card-details.component.js +53 -14
- package/esm5/lib/components/case-transactions/case-transactions.component.js +850 -160
- package/esm5/lib/components/error-banner/error-banner.component.js +28 -15
- package/esm5/lib/components/fee-summary/fee-summary.component.js +320 -70
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +223 -46
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +277 -52
- package/esm5/lib/components/page-not-found.component.js +10 -7
- package/esm5/lib/components/payment-list/payment-list.component.js +60 -14
- package/esm5/lib/components/payment-view/payment-view.component.js +439 -134
- package/esm5/lib/components/pba-details/pba-details.component.js +28 -15
- package/esm5/lib/components/pba-payment/pba-payment.component.js +149 -30
- package/esm5/lib/components/process-refund/process-refund.component.js +271 -45
- package/esm5/lib/components/processed-payments/processed-payments.component.js +62 -22
- package/esm5/lib/components/refund-list/refund-list.component.js +89 -30
- package/esm5/lib/components/refund-status/refund-status.component.js +334 -71
- package/esm5/lib/components/reports/reports.component.js +275 -49
- package/esm5/lib/components/service-request/service-request.component.js +461 -122
- package/esm5/lib/components/status-history/status-history.component.js +52 -17
- package/esm5/lib/components/table/table.component.js +153 -44
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +258 -75
- package/esm5/lib/interfaces/AddRemissionRequest.js +21 -1
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +11 -1
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +35 -1
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +19 -1
- package/esm5/lib/interfaces/IBSPayments.js +45 -1
- package/esm5/lib/interfaces/ICardDetails.js +21 -1
- package/esm5/lib/interfaces/IFee.js +53 -1
- package/esm5/lib/interfaces/IOrderReferenceFee.js +25 -1
- package/esm5/lib/interfaces/IPatchRefundAction.js +15 -1
- package/esm5/lib/interfaces/IPayment.js +65 -1
- package/esm5/lib/interfaces/IPaymentFailure.js +33 -1
- package/esm5/lib/interfaces/IPaymentGroup.js +19 -1
- package/esm5/lib/interfaces/IPaymentStatus.js +25 -1
- package/esm5/lib/interfaces/IPaymentView.js +17 -1
- package/esm5/lib/interfaces/IPayments.js +13 -1
- package/esm5/lib/interfaces/IRefundAction.js +15 -1
- package/esm5/lib/interfaces/IRefundList.js +29 -1
- package/esm5/lib/interfaces/IRefundReasons.js +19 -1
- package/esm5/lib/interfaces/IRefundRejectReason.js +15 -1
- package/esm5/lib/interfaces/IRefundStatus.js +23 -1
- package/esm5/lib/interfaces/IRefundStatusHistory.js +15 -1
- package/esm5/lib/interfaces/IRemission.js +25 -1
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +11 -1
- package/esm5/lib/interfaces/IStatusHistories.js +19 -1
- package/esm5/lib/interfaces/IStatusHistory.js +21 -1
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +13 -1
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +17 -1
- package/esm5/lib/interfaces/IssueRefundRequest.js +13 -1
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +16 -2
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +22 -2
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +9 -1
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +11 -1
- package/esm5/lib/interfaces/RefundsRequest.js +11 -1
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +15 -1
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +21 -1
- package/esm5/lib/payment-lib.component.js +183 -114
- package/esm5/lib/payment-lib.module.js +55 -52
- package/esm5/lib/payment-lib.service.js +87 -17
- package/esm5/lib/pipes/capitalize.pipe.js +23 -9
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +24 -9
- package/esm5/lib/pipes/key-value.pipe.js +22 -9
- package/esm5/lib/pipes/sanitize-html.pipe.js +26 -8
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +152 -28
- package/esm5/lib/services/card-details/card-details.service.js +43 -13
- package/esm5/lib/services/case-transactions/case-transactions.service.js +43 -13
- package/esm5/lib/services/orderslist.service.js +419 -45
- package/esm5/lib/services/payment-list/payment-list.service.js +47 -13
- package/esm5/lib/services/payment-view/payment-view.service.js +306 -40
- package/esm5/lib/services/refunds/refunds.service.js +163 -29
- package/esm5/lib/services/shared/error-handler.service.js +37 -11
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +119 -18
- package/esm5/lib/services/shared/logger/console-logger.service.js +41 -13
- package/esm5/lib/services/shared/logger/logger.service.js +53 -11
- package/esm5/lib/services/status-history/status-history.service.js +45 -13
- package/esm5/lib/services/xl-file/xl-file.service.js +114 -15
- package/esm5/public_api.js +8 -4
- package/fesm2015/hmcts-ccpay-web-component.js +4041 -1490
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +5386 -1750
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/card-details/card-details.component.d.ts +1 -1
- package/lib/components/payment-view/payment-view.component.d.ts +2 -2
- package/lib/services/shared/logger/console-logger.service.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
2
5
|
import { Component } from '@angular/core';
|
|
3
6
|
var PageNotFoundComponent = /** @class */ (function () {
|
|
4
7
|
function PageNotFoundComponent() {
|
|
5
8
|
}
|
|
6
|
-
PageNotFoundComponent =
|
|
7
|
-
Component
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
]
|
|
9
|
+
PageNotFoundComponent.decorators = [
|
|
10
|
+
{ type: Component, args: [{
|
|
11
|
+
template: "\n <h1>This is not the page you were looking for!</h1>\n "
|
|
12
|
+
}] }
|
|
13
|
+
];
|
|
11
14
|
return PageNotFoundComponent;
|
|
12
15
|
}());
|
|
13
16
|
export { PageNotFoundComponent };
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1ub3QtZm91bmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYWdlLW5vdC1mb3VuZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUM7SUFBQTtJQUtxQyxDQUFDOztnQkFMckMsU0FBUyxTQUFDO29CQUNQLFFBQVEsRUFBRSxpRUFFVDtpQkFDSjs7SUFDb0MsNEJBQUM7Q0FBQSxBQUx0QyxJQUtzQztTQUF6QixxQkFBcUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgdGVtcGxhdGU6IGBcbiAgICA8aDE+VGhpcyBpcyBub3QgdGhlIHBhZ2UgeW91IHdlcmUgbG9va2luZyBmb3IhPC9oMT5cbiAgICBgXG59KVxuZXhwb3J0IGNsYXNzIFBhZ2VOb3RGb3VuZENvbXBvbmVudCB7IH1cbiJdfQ==
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
2
5
|
import { Component } from '@angular/core';
|
|
3
6
|
import { PaymentListService } from '../../services/payment-list/payment-list.service';
|
|
4
7
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
@@ -7,31 +10,74 @@ var PaymentListComponent = /** @class */ (function () {
|
|
|
7
10
|
this.paymentListService = paymentListService;
|
|
8
11
|
this.paymentLibComponent = paymentLibComponent;
|
|
9
12
|
}
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* @return {?}
|
|
15
|
+
*/
|
|
16
|
+
PaymentListComponent.prototype.ngOnInit = /**
|
|
17
|
+
* @return {?}
|
|
18
|
+
*/
|
|
19
|
+
function () {
|
|
11
20
|
var _this = this;
|
|
12
21
|
this.paymentListService.getPaymentByCcdCaseNumber(this.paymentLibComponent.CCD_CASE_NUMBER, this.paymentLibComponent.PAYMENT_METHOD)
|
|
13
|
-
.subscribe(
|
|
22
|
+
.subscribe((/**
|
|
23
|
+
* @param {?} payments
|
|
24
|
+
* @return {?}
|
|
25
|
+
*/
|
|
26
|
+
function (payments) { return _this.payments = payments; }), (/**
|
|
27
|
+
* @param {?} error
|
|
28
|
+
* @return {?}
|
|
29
|
+
*/
|
|
30
|
+
function (error) { return _this.errorMessage = (/** @type {?} */ (error)); }));
|
|
14
31
|
};
|
|
15
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @param {?} paymentGroupReference
|
|
34
|
+
* @param {?} paymentReference
|
|
35
|
+
* @param {?} paymentMethod
|
|
36
|
+
* @return {?}
|
|
37
|
+
*/
|
|
38
|
+
PaymentListComponent.prototype.loadPaymentViewComponent = /**
|
|
39
|
+
* @param {?} paymentGroupReference
|
|
40
|
+
* @param {?} paymentReference
|
|
41
|
+
* @param {?} paymentMethod
|
|
42
|
+
* @return {?}
|
|
43
|
+
*/
|
|
44
|
+
function (paymentGroupReference, paymentReference, paymentMethod) {
|
|
16
45
|
this.paymentLibComponent.paymentMethod = paymentMethod;
|
|
17
46
|
this.paymentLibComponent.paymentGroupReference = paymentGroupReference;
|
|
18
47
|
this.paymentLibComponent.paymentReference = paymentReference;
|
|
19
48
|
this.paymentLibComponent.viewName = 'payment-view';
|
|
20
49
|
};
|
|
50
|
+
PaymentListComponent.decorators = [
|
|
51
|
+
{ type: Component, args: [{
|
|
52
|
+
selector: 'ccpay-payment-list',
|
|
53
|
+
template: "<div class=\"govuk-width-container\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payments list could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!errorMessage && payments\">\n\n <table class=\"table\">\n <tr>\n <th class=\"bold font-xsmall\">Payment group reference</th>\n <th class=\"bold font-xsmall\">Payment reference</th>\n <th class=\"bold font-xsmall\">Date created</th>\n <th class=\"bold font-xsmall\">Channel</th>\n <th class=\"bold font-xsmall\">Method</th>\n <th class=\"bold font-xsmall\">Amount</th>\n <th class=\"bold font-xsmall\">Status</th>\n </tr>\n <tr *ngFor=\"let payment of payments.payments\">\n <td class=\"font-xsmall\">\n <a href=\"javascript:void(0)\" (click)=\"loadPaymentViewComponent(payment.payment_group_reference, payment.payment_reference, payment.method)\">{{ payment.payment_group_reference }}</a>\n <td class=\"font-xsmall\">{{ payment.payment_reference }}</td>\n <td class=\"font-xsmall\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"font-xsmall\">{{ payment.channel | titlecase }}</td>\n <td class=\"font-xsmall\">{{ payment.method | titlecase }}</td>\n <td class=\"font-xsmall\">\u00A3{{ payment.amount | number:'.2' }}</td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'online'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Failed'\">\n <div *ngFor=\"let statusHistory of payment.status_histories\">\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0010'\">\n Payment rejected due to payment method selected or payment information entered, for example, failed fraud check, a 3D Secure authentication failure, or the user does not have enough money in account\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0020'\">\n Payment was not confirmed and completed within 90 minutes of being created\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0030'\">\n User clicked on the \u201CCancel payment\u201D button during the payment journey\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0050'\">\n Multiple possible causes, for example a configuration problem with the payment provider, or incorrect login credentials\n </p>\n </div>\n </div>\n </details>\n </td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'telephony'\" class=\"font-xsmall\">\n {{ payment.status}}\n </td>\n <td *ngIf=\"payment.method === 'payment by account'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Pending'\">\n <p class=\"font-xsmall\">This means the transaction is being processed by Liberata.</p>\n </div>\n </details>\n </td>\n </tr>\n </table>\n\n </div>\n\n</div>\n",
|
|
54
|
+
styles: [""]
|
|
55
|
+
}] }
|
|
56
|
+
];
|
|
57
|
+
/** @nocollapse */
|
|
21
58
|
PaymentListComponent.ctorParameters = function () { return [
|
|
22
59
|
{ type: PaymentListService },
|
|
23
60
|
{ type: PaymentLibComponent }
|
|
24
61
|
]; };
|
|
25
|
-
PaymentListComponent = __decorate([
|
|
26
|
-
Component({
|
|
27
|
-
selector: 'ccpay-payment-list',
|
|
28
|
-
template: "<div class=\"govuk-width-container\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payments list could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!errorMessage && payments\">\n\n <table class=\"table\">\n <tr>\n <th class=\"bold font-xsmall\">Payment group reference</th>\n <th class=\"bold font-xsmall\">Payment reference</th>\n <th class=\"bold font-xsmall\">Date created</th>\n <th class=\"bold font-xsmall\">Channel</th>\n <th class=\"bold font-xsmall\">Method</th>\n <th class=\"bold font-xsmall\">Amount</th>\n <th class=\"bold font-xsmall\">Status</th>\n </tr>\n <tr *ngFor=\"let payment of payments.payments\">\n <td class=\"font-xsmall\">\n <a href=\"javascript:void(0)\" (click)=\"loadPaymentViewComponent(payment.payment_group_reference, payment.payment_reference, payment.method)\">{{ payment.payment_group_reference }}</a>\n <td class=\"font-xsmall\">{{ payment.payment_reference }}</td>\n <td class=\"font-xsmall\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"font-xsmall\">{{ payment.channel | titlecase }}</td>\n <td class=\"font-xsmall\">{{ payment.method | titlecase }}</td>\n <td class=\"font-xsmall\">\u00A3{{ payment.amount | number:'.2' }}</td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'online'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Failed'\">\n <div *ngFor=\"let statusHistory of payment.status_histories\">\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0010'\">\n Payment rejected due to payment method selected or payment information entered, for example, failed fraud check, a 3D Secure authentication failure, or the user does not have enough money in account\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0020'\">\n Payment was not confirmed and completed within 90 minutes of being created\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0030'\">\n User clicked on the \u201CCancel payment\u201D button during the payment journey\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0050'\">\n Multiple possible causes, for example a configuration problem with the payment provider, or incorrect login credentials\n </p>\n </div>\n </div>\n </details>\n </td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'telephony'\" class=\"font-xsmall\">\n {{ payment.status}}\n </td>\n <td *ngIf=\"payment.method === 'payment by account'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Pending'\">\n <p class=\"font-xsmall\">This means the transaction is being processed by Liberata.</p>\n </div>\n </details>\n </td>\n </tr>\n </table>\n\n </div>\n\n</div>\n",
|
|
29
|
-
styles: [""]
|
|
30
|
-
}),
|
|
31
|
-
__metadata("design:paramtypes", [PaymentListService,
|
|
32
|
-
PaymentLibComponent])
|
|
33
|
-
], PaymentListComponent);
|
|
34
62
|
return PaymentListComponent;
|
|
35
63
|
}());
|
|
36
64
|
export { PaymentListComponent };
|
|
37
|
-
|
|
65
|
+
if (false) {
|
|
66
|
+
/** @type {?} */
|
|
67
|
+
PaymentListComponent.prototype.payments;
|
|
68
|
+
/** @type {?} */
|
|
69
|
+
PaymentListComponent.prototype.errorMessage;
|
|
70
|
+
/** @type {?} */
|
|
71
|
+
PaymentListComponent.prototype.code;
|
|
72
|
+
/**
|
|
73
|
+
* @type {?}
|
|
74
|
+
* @private
|
|
75
|
+
*/
|
|
76
|
+
PaymentListComponent.prototype.paymentListService;
|
|
77
|
+
/**
|
|
78
|
+
* @type {?}
|
|
79
|
+
* @private
|
|
80
|
+
*/
|
|
81
|
+
PaymentListComponent.prototype.paymentLibComponent;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC1saXN0L3BheW1lbnQtbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFFaEQsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sa0RBQWtELENBQUM7QUFFcEYsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFHaEU7SUFVRSw4QkFBb0Isa0JBQXNDLEVBQ3RDLG1CQUF3QztRQUR4Qyx1QkFBa0IsR0FBbEIsa0J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