public class WCPaymentsPluginErrorMessageHelper
extends java.lang.Object
This class provides a run-time mapping between the WCPayments primary return codes to human-readable error messages.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
static WCPaymentsPluginErrorMessageHelper | getInstance(java.util.Locale locale)
This method gets the error mapper.
|
java.lang.String | getMessage(java.lang.String messageKey)
This method gets the translated string for the given message key.
|
public static final java.lang.String COPYRIGHT
public static WCPaymentsPluginErrorMessageHelper getInstance(java.util.Locale locale)
public java.lang.String getMessage(java.lang.String messageKey)