IssueVoucherOutput Class

Represents the voucher ID issued to a loyalty program member.

LoyaltyManagement

The following are methods for IssueVoucherOutput.

  • getErrors()

    If an error occurred, returns a list providing the error code and description.

  • getVoucherId()

    Returns the ID of the voucher that’s generated after the request is successful.

  • isSuccess()

    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