Class VoucherCodeGenerationRequest

java.lang.Object
com.broadleafcommerce.promotion.offer.domain.VoucherCodeGenerationRequest
All Implemented Interfaces:
Serializable

public class VoucherCodeGenerationRequest extends Object implements Serializable
A request DTO for generating voucher codes.
Author:
Sunny Yu
See Also:
  • Constructor Details

    • VoucherCodeGenerationRequest

      public VoucherCodeGenerationRequest()
  • Method Details

    • getVoucherCampaignId

      public String getVoucherCampaignId()
      The Campaign.getId() to generate the voucher codes from.
    • getCodeGenerator

      public CodeGenerator getCodeGenerator()
      The CodeGenerator to use to generate voucher codes.
    • setVoucherCampaignId

      public void setVoucherCampaignId(String voucherCampaignId)
      The Campaign.getId() to generate the voucher codes from.
    • setCodeGenerator

      public void setCodeGenerator(CodeGenerator codeGenerator)
      The CodeGenerator to use to generate voucher codes.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object