public class ErrorMessages extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LANGUAGE
Default language.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getErrorMessage(ResultCode resultCode,
String language)
Returns the error message matching the supplied ResultCode in the supplied language.
|
static String |
getErrorMessage(ResultCode resultCode,
Terminal terminal)
Returns the error message matching the supplied ResultCode in the terminal
merchant language.
|
public static final String DEFAULT_LANGUAGE
public static String getErrorMessage(ResultCode resultCode, Terminal terminal)
public static String getErrorMessage(ResultCode resultCode, String language)