public class Voucher extends Object implements Serializable
Constructor and Description |
---|
Voucher() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getErrorMessage()
The error message from voucher code generation for this voucher.
|
String |
getGeneratedCampaignCode()
The generated campaign code for this voucher.
|
String |
getOfferId()
The
OfferRef.getId() of the voucher offer. |
String |
getVoucherCampaignId()
The id of the voucher campaign, which will be used for voucher code generation later on.
|
int |
hashCode() |
boolean |
isGenerationSuccessful()
Indicates whether the post-checkout voucher code generation was successful.
|
boolean |
isValidationSuccessful()
Indicates whether the post-checkout voucher validation was successful.
|
void |
setErrorMessage(String errorMessage)
The error message from voucher code generation for this voucher.
|
void |
setGeneratedCampaignCode(String generatedCampaignCode)
The generated campaign code for this voucher.
|
void |
setGenerationSuccessful(boolean generationSuccessful)
Indicates whether the post-checkout voucher code generation was successful.
|
void |
setOfferId(String offerId)
The
OfferRef.getId() of the voucher offer. |
void |
setValidationSuccessful(boolean validationSuccessful)
Indicates whether the post-checkout voucher validation was successful.
|
void |
setVoucherCampaignId(String voucherCampaignId)
The id of the voucher campaign, which will be used for voucher code generation later on.
|
String |
toString() |
public String getOfferId()
OfferRef.getId()
of the voucher offer.public String getVoucherCampaignId()
public String getGeneratedCampaignCode()
public boolean isValidationSuccessful()
public boolean isGenerationSuccessful()
public String getErrorMessage()
public void setOfferId(String offerId)
OfferRef.getId()
of the voucher offer.public void setVoucherCampaignId(String voucherCampaignId)
public void setGeneratedCampaignCode(String generatedCampaignCode)
public void setValidationSuccessful(boolean validationSuccessful)
public void setGenerationSuccessful(boolean generationSuccessful)
public void setErrorMessage(String errorMessage)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.