Class VoucherCodeGenerationRequest
java.lang.Object
com.broadleafcommerce.promotion.offer.domain.VoucherCodeGenerationRequest
- All Implemented Interfaces:
Serializable
A request DTO for generating voucher codes.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
TheCodeGenerator
to use to generate voucher codes.TheCampaign.getId()
to generate the voucher codes from.int
hashCode()
void
setCodeGenerator
(CodeGenerator codeGenerator) TheCodeGenerator
to use to generate voucher codes.void
setVoucherCampaignId
(String voucherCampaignId) TheCampaign.getId()
to generate the voucher codes from.toString()
-
Constructor Details
-
VoucherCodeGenerationRequest
public VoucherCodeGenerationRequest()
-
-
Method Details
-
getVoucherCampaignId
TheCampaign.getId()
to generate the voucher codes from. -
getCodeGenerator
TheCodeGenerator
to use to generate voucher codes. -
setVoucherCampaignId
TheCampaign.getId()
to generate the voucher codes from. -
setCodeGenerator
TheCodeGenerator
to use to generate voucher codes. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-