LoyaltyActionError Class
A class that contains the errors related to the execution of a Loyalty Management action.
The following are constructors for LoyaltyActionError.
-
LoyaltyActionError(code, message)
Creates an instance of the
LoyaltyManagement.LoyaltyActionErrorclass.
Creates an instance of the LoyaltyManagement.LoyaltyActionError class.
public LoyaltyActionError(String code, String message)
code
Type: String
The error code.
message
Type: String
The error message.
The following are methods for LoyaltyActionError.
-
Returns a String that contains an error code.
-
Returns a String that contains an error description.
Returns a String that contains an error code.
public String getCode()
Type: String
Returns a String that contains an error description.
public String getMessage()
Type: String