Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@AutoHandler
public interface PaymentErrorListener {
@ErrorCode(CODE_UNSUPPORTED_PREPAID_CARD)
void onUnsupportedPrepaidCardError();
@ErrorCode(CODE_UNSUPPORTED_CONSUMER_CARD)
void onUnsupportedConsumerCardError();
@ErrorCode(CODE_INSUFFICIENT_FUNDS)
void onInsufficientFundsError();
@ErrorCode(CODE_EXPIRED_CARD)
void onExpiredCardError();
@ErrorCode(codes = {
CODE_UNHANDLED_ERROR,
CODE_INTERNAL_ERROR
})
void onUnhandledError();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.