IssueVoucherOutput Class
Represents the voucher ID issued to a loyalty program member.
The following are methods for IssueVoucherOutput.
-
If an error occurred, returns a list providing the error code and description.
-
Returns the ID of the voucher that’s generated after the request is successful.
-
Returns a Boolean that is set to true if the issue voucher operation was successful for this object, false otherwise.
If an error occurred, returns a list providing the error code and description.
public List<LoyaltyManagement.LoyaltyActionError> getErrors()
Type: List<LoyaltyManagement.LoyaltyActionError>
Returns the ID of the voucher that’s generated after the request is successful.
public String getVoucherId()
Type: String
Returns a Boolean that is set to true if the issue voucher operation was successful for this object, false otherwise.
public Boolean isSuccess()
Type: Boolean