java.lang.Object
com.broadleafcommerce.advancedoffer.admin.web.api.dto.OfferDTO

@Component("com.broadleafcommerce.advancedoffer.admin.web.api.dto.OfferDTO") @Scope("prototype") public class OfferDTO extends Object
Author:
Philip Baggett (pbaggett)
  • Field Details

    • offerId

      protected Long offerId
    • startDate

      protected Date startDate
    • endDate

      protected Date endDate
    • marketingMessage

      protected String marketingMessage
    • description

      protected String description
    • name

      protected String name
    • automatic

      protected Boolean automatic
    • offerType

      protected BroadleafEnumerationTypeDTO offerType
    • discountType

      protected BroadleafEnumerationTypeDTO discountType
    • context

      protected org.springframework.context.ApplicationContext context
  • Constructor Details

    • OfferDTO

      @Autowired public OfferDTO(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • wrap

      public OfferDTO wrap(org.broadleafcommerce.core.offer.domain.Offer offer)