Class OfferCodeGenerationWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.advancedoffer.api.wrapper.OfferCodeGenerationWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<OfferCodeGenerationInfo>, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<OfferCodeGenerationInfo>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class OfferCodeGenerationWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<OfferCodeGenerationInfo>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<OfferCodeGenerationInfo>
See Also:
  • Field Details

    • id

      protected Long id
    • codeGenerationMethod

      protected String codeGenerationMethod
    • numberOfCodesToGenerate

      protected Integer numberOfCodesToGenerate
    • numberOfCodesGenerated

      protected Integer numberOfCodesGenerated
    • codeGenerationStatus

      protected String codeGenerationStatus
    • codeFormat

      protected String codeFormat
    • codePrefix

      protected String codePrefix
    • maxUses

      protected Integer maxUses
    • codeGenerationMessage

      protected String codeGenerationMessage
  • Constructor Details

    • OfferCodeGenerationWrapper

      public OfferCodeGenerationWrapper()
  • Method Details

    • unwrap

      public OfferCodeGenerationInfo unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
      Specified by:
      unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<OfferCodeGenerationInfo>
    • wrapDetails

      public void wrapDetails(OfferCodeGenerationInfo model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<OfferCodeGenerationInfo>
    • wrapSummary

      public void wrapSummary(OfferCodeGenerationInfo model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<OfferCodeGenerationInfo>
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getCodeGenerationMethod

      public String getCodeGenerationMethod()
    • setCodeGenerationMethod

      public void setCodeGenerationMethod(String codeGenerationMethod)
    • getNumberOfCodesToGenerate

      public Integer getNumberOfCodesToGenerate()
    • setNumberOfCodesToGenerate

      public void setNumberOfCodesToGenerate(Integer numberOfCodesToGenerate)
    • getNumberOfCodesGenerated

      public Integer getNumberOfCodesGenerated()
    • setNumberOfCodesGenerated

      public void setNumberOfCodesGenerated(Integer numberOfCodesGenerated)
    • getCodeGenerationStatus

      public String getCodeGenerationStatus()
    • setCodeGenerationStatus

      public void setCodeGenerationStatus(String codeGenerationStatus)
    • getCodeFormat

      public String getCodeFormat()
    • setCodeFormat

      public void setCodeFormat(String codeFormat)
    • getCodePrefix

      public String getCodePrefix()
    • setCodePrefix

      public void setCodePrefix(String codePrefix)
    • getMaxUses

      public Integer getMaxUses()
    • setMaxUses

      public void setMaxUses(Integer maxUses)
    • getCodeGenerationMessage

      public String getCodeGenerationMessage()
    • setCodeGenerationMessage

      public void setCodeGenerationMessage(String codeGenerationMessage)