-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PP-13315: Error identifier for a http return url
- Loading branch information
1 parent
27ddf04
commit 2410054
Showing
1 changed file
with
22 additions
and
21 deletions.
There are no files selected for viewing
43 changes: 22 additions & 21 deletions
43
model/src/main/java/uk/gov/service/payments/commons/model/ErrorIdentifier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
package uk.gov.service.payments.commons.model; | ||
|
||
public enum ErrorIdentifier { | ||
GENERIC, | ||
REFUND_NOT_AVAILABLE, | ||
REFUND_AMOUNT_AVAILABLE_MISMATCH, | ||
REFUND_NOT_AVAILABLE_DUE_TO_DISPUTE, | ||
ZERO_AMOUNT_NOT_ALLOWED, | ||
MOTO_NOT_ALLOWED, | ||
CANCEL_CHARGE_FAILURE_DUE_TO_CONFLICTING_TERMINAL_STATE_AT_GATEWAY_CHARGE_STATE_FORCIBLY_TRANSITIONED, | ||
CANCEL_CHARGE_FAILURE_DUE_TO_CONFLICTING_TERMINAL_STATE_AT_GATEWAY_INVALID_STATE_TRANSITION, | ||
AUTH_TOKEN_INVALID, | ||
AUTH_TOKEN_REVOKED, | ||
ACCOUNT_DISABLED, | ||
ACCOUNT_NOT_LINKED_WITH_PSP, | ||
TELEPHONE_PAYMENT_NOTIFICATIONS_NOT_ALLOWED, | ||
AGREEMENT_NOT_ACTIVE, | ||
AGREEMENT_NOT_FOUND, | ||
ONE_TIME_TOKEN_INVALID, | ||
ONE_TIME_TOKEN_ALREADY_USED, | ||
INVALID_ATTRIBUTE_VALUE, | ||
CARD_NUMBER_REJECTED, | ||
AUTH_TOKEN_INVALID, | ||
AUTH_TOKEN_REVOKED, | ||
AUTHORISATION_API_NOT_ALLOWED, | ||
AUTHORISATION_REJECTED, | ||
AUTHORISATION_ERROR, | ||
AUTHORISATION_REJECTED, | ||
AUTHORISATION_TIMEOUT, | ||
AGREEMENT_NOT_ACTIVE, | ||
CANCEL_CHARGE_FAILURE_DUE_TO_CONFLICTING_TERMINAL_STATE_AT_GATEWAY_CHARGE_STATE_FORCIBLY_TRANSITIONED, | ||
CANCEL_CHARGE_FAILURE_DUE_TO_CONFLICTING_TERMINAL_STATE_AT_GATEWAY_INVALID_STATE_TRANSITION, | ||
CARD_NUMBER_IN_PAYMENT_LINK_REFERENCE_REJECTED, | ||
CARD_NUMBER_REJECTED, | ||
GENERIC, | ||
IDEMPOTENCY_KEY_USED, | ||
INCORRECT_AUTHORISATION_MODE_FOR_SAVE_PAYMENT_INSTRUMENT_TO_AGREEMENT, | ||
INVALID_ATTRIBUTE_VALUE, | ||
MISSING_MANDATORY_ATTRIBUTE, | ||
UNEXPECTED_ATTRIBUTE, | ||
ACCOUNT_DISABLED, | ||
MOTO_NOT_ALLOWED, | ||
NON_HTTPS_RETURN_URL_NOT_ALLOWED_FOR_A_LIVE_ACCOUNT, | ||
ONE_TIME_TOKEN_ALREADY_USED, | ||
ONE_TIME_TOKEN_INVALID, | ||
RECURRING_CARD_PAYMENTS_NOT_ALLOWED, | ||
IDEMPOTENCY_KEY_USED, | ||
CARD_NUMBER_IN_PAYMENT_LINK_REFERENCE_REJECTED | ||
REFUND_AMOUNT_AVAILABLE_MISMATCH, | ||
REFUND_NOT_AVAILABLE, | ||
REFUND_NOT_AVAILABLE_DUE_TO_DISPUTE, | ||
TELEPHONE_PAYMENT_NOTIFICATIONS_NOT_ALLOWED, | ||
UNEXPECTED_ATTRIBUTE, | ||
ZERO_AMOUNT_NOT_ALLOWED | ||
} |