Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PP-13315: Error identifier for a http return url #957

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
Loading