@Component(value="com.broadleafcommerce.advancedoffer.admin.web.api.dto.OfferDTO") @Scope(value="prototype") public class OfferDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
automatic |
protected org.springframework.context.ApplicationContext |
context |
protected String |
description |
protected BroadleafEnumerationTypeDTO |
discountType |
protected Date |
endDate |
protected String |
marketingMessage |
protected String |
name |
protected Long |
offerId |
protected BroadleafEnumerationTypeDTO |
offerType |
protected Date |
startDate |
| Constructor and Description |
|---|
OfferDTO(org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
OfferDTO |
wrap(org.broadleafcommerce.core.offer.domain.Offer offer) |
protected Long offerId
protected Date startDate
protected Date endDate
protected String marketingMessage
protected String description
protected String name
protected Boolean automatic
protected BroadleafEnumerationTypeDTO offerType
protected BroadleafEnumerationTypeDTO discountType
protected org.springframework.context.ApplicationContext context
@Autowired public OfferDTO(org.springframework.context.ApplicationContext applicationContext)
public OfferDTO wrap(org.broadleafcommerce.core.offer.domain.Offer offer)
Copyright © 2020. All rights reserved.