Created
April 2, 2019 16:44
-
-
Save frogermcs/7f3922bca30a0f15748665938f7a52d4 to your computer and use it in GitHub Desktop.
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
@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