IssueVoucherOutput Class

Represents the voucher ID issued to a loyalty program member.

Namespace 

LoyaltyManagement

IssueVoucherOutput Methods 

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.

getErrors() 

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

Signature 

public List<LoyaltyManagement.LoyaltyActionError> getErrors()

Return Value 

Type: List<LoyaltyManagement.LoyaltyActionError>

getVoucherId() 

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

Signature 

public String getVoucherId()

Return Value 

Type: String

isSuccess() 

Returns a Boolean that is set to true if the issue voucher operation was successful for this object, false otherwise.

Signature 

public Boolean isSuccess()

Return Value 

Type: Boolean