Skip to content

Commit

Permalink
PP-13315: Error identifier for a http return url
Browse files Browse the repository at this point in the history
  • Loading branch information
oswaldquek committed Nov 20, 2024
1 parent 27ddf04 commit 2410054
Showing 1 changed file with 22 additions and 21 deletions.
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
}

0 comments on commit 2410054

Please sign in to comment.