Package com.meawallet.mtp
Interface MeaError
-
public interface MeaError
Interface for a common error constants.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCardId()
Get card ID for card which is associated with error.int
getCode()
Gets the code of the error.java.lang.String
getMessage()
Gets the message of the error.java.lang.String
getName()
Gets the name of the error.java.lang.String
getRemoteResponseId()
In case error happened in backend, remote communication response id is returned.
-
-
-
Method Detail
-
getCode
int getCode()
Gets the code of the error.- Returns:
- The error code.
-
getName
java.lang.String getName()
Gets the name of the error.- Returns:
- The error name.
-
getMessage
java.lang.String getMessage()
Gets the message of the error.- Returns:
- The error message.
-
getRemoteResponseId
java.lang.String getRemoteResponseId()
In case error happened in backend, remote communication response id is returned. Otherwise returns null.- Returns:
- Remote response Id.
-
getCardId
java.lang.String getCardId()
Get card ID for card which is associated with error.- Returns:
- card ID as string.
-
-