public class PluginMessages
extends java.lang.Object
This class defines standard translated messages and the utility to retrieve them.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PLUGIN_AUTHORIZATION_FAILED
The key to indicate the authorization failed error.
|
static java.lang.String | PLUGIN_COMMUNICATION_AUTHORIZATION_FAILED
The key to indicate the authorization of the backend failed during communication.
|
static java.lang.String | PLUGIN_COMMUNICATION_FAILED
The key to indicate communication with the back-end system failed.
|
static java.lang.String | PLUGIN_COMMUNICATION_TIMEOUT
The key to indicate the communication with the backend is timeout.
|
static java.lang.String | PLUGIN_CONFIGURATION_PARAM_INVALID
The key to indicate the parameter in the plug-in configuration data is invalid.
|
static java.lang.String | PLUGIN_CONFIGURATION_PARAM_NULL
The key to indicate the parameter in plug-in configuration data is null.
|
static java.lang.String | PLUGIN_FUNCTION_NOT_SUPPORTED
The key to indicate the plug-in does not support this function.
|
static java.lang.String | PLUGIN_INTERNAL_ERROR
The key to indicate an internal plug-in internal error.
|
static java.lang.String | PLUGIN_INVALID_ISO_4712_ALPHA_CURRENCY_CODE
The message key for invalid ISO 4712 alpha currency code.
|
static java.lang.String | PLUGIN_INVALID_ISO_4712_NUMERIC_CURRENCY_CODE
The message key for invalid ISO 4712 numeric currency code.
|
static java.lang.String | PLUGIN_INVALID_STATE
The key to indicate the an incorrect state was used.
|
static java.lang.String | PLUGIN_INVALID_TRAN_TYPE
The key to indicate the a transaction type was used.
|
static java.lang.String | PLUGIN_PARAM_INVALID
The key to indicate the parameter is invalid.
|
static java.lang.String | PLUGIN_PARAM_LENGTH_ABOVE_MAX_LENGTH
The key to indicate the parameter length is above the maximum length.
|
static java.lang.String | PLUGIN_PARAM_LENGTH_BELOW_MIN_LENGTH
The key to indicate the parameter length is below the minium length.
|
static java.lang.String | PLUGIN_PARAM_MISSING
The key to indicate the parameter is missing.
|
static java.lang.String | PLUGIN_PARAM_NULL
The key to indicate the parameter is null.
|
static java.lang.String | PLUGIN_PAYMENT_APPROVAL_EXPIRED
The key to indicate the plug-in detected that a payment approval (authorization) has expired.
|
static java.lang.String | PLUGIN_RESOURCE_BUNDLE_NAME
The name of the standard plug-in resource bundle .
|
static java.lang.String | PLUGIN_RESOURCEBUNDLE_NOT_FOUND
The key to indicate that the plugin resource bundle can not be loaded.
|
static java.lang.String | PLUGIN_UNKNOWN_HOST
The key to indicate the unknown host error.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String | getMessage(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] parameters, java.util.Locale locale, java.lang.String defaultMessage)
This method gets a translated message from any resource bundle.
|
static java.lang.String | getMessage(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] parameters, java.lang.String defaultMessage)
This method gets the Message from the resource bundle for the JVM default locale.
|
static java.lang.String | getStandardMessage(java.lang.String messageKey, java.lang.Object[] parameters, java.util.Locale locale, java.lang.String defaultMessage)
This method gets a translated message from the default resource bundle.
|
static java.lang.String | getStandardMessage(java.lang.String messageKey, java.lang.Object[] parameters, java.lang.String defaultMessage)
This method gets a translated message from the default resource bundle for the JVM default locale.
|
public static final java.lang.String PLUGIN_PARAM_NULL
public static final java.lang.String PLUGIN_PARAM_INVALID
public static final java.lang.String PLUGIN_PARAM_LENGTH_BELOW_MIN_LENGTH
public static final java.lang.String PLUGIN_PARAM_LENGTH_ABOVE_MAX_LENGTH
public static final java.lang.String PLUGIN_PARAM_MISSING
public static final java.lang.String PLUGIN_INTERNAL_ERROR
public static final java.lang.String PLUGIN_INVALID_STATE
public static final java.lang.String PLUGIN_INVALID_TRAN_TYPE
public static final java.lang.String PLUGIN_CONFIGURATION_PARAM_NULL
public static final java.lang.String PLUGIN_CONFIGURATION_PARAM_INVALID
public static final java.lang.String PLUGIN_COMMUNICATION_AUTHORIZATION_FAILED
public static final java.lang.String PLUGIN_FUNCTION_NOT_SUPPORTED
public static final java.lang.String PLUGIN_PAYMENT_APPROVAL_EXPIRED
public static final java.lang.String PLUGIN_COMMUNICATION_FAILED
public static final java.lang.String PLUGIN_COMMUNICATION_TIMEOUT
public static final java.lang.String PLUGIN_UNKNOWN_HOST
public static final java.lang.String PLUGIN_AUTHORIZATION_FAILED
public static final java.lang.String PLUGIN_RESOURCEBUNDLE_NOT_FOUND
public static final java.lang.String PLUGIN_RESOURCE_BUNDLE_NAME
public static final java.lang.String PLUGIN_INVALID_ISO_4712_NUMERIC_CURRENCY_CODE
public static final java.lang.String PLUGIN_INVALID_ISO_4712_ALPHA_CURRENCY_CODE
public static java.lang.String getMessage(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] parameters, java.util.Locale locale, java.lang.String defaultMessage)
public static java.lang.String getMessage(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] parameters, java.lang.String defaultMessage)
This method gets the Message from the resource bundle for the JVM default locale.
public static java.lang.String getStandardMessage(java.lang.String messageKey, java.lang.Object[] parameters, java.util.Locale locale, java.lang.String defaultMessage)
public static java.lang.String getStandardMessage(java.lang.String messageKey, java.lang.Object[] parameters, java.lang.String defaultMessage)