@Component(value="com.broadleafcommerce.advancedoffer.admin.web.api.dto.OfferCodeDTO") @Scope(value="prototype") public class OfferCodeDTO extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected org.springframework.context.ApplicationContext |
context |
protected String |
emailAddress |
protected Date |
endDate |
protected Long |
id |
protected Integer |
maxUses |
protected OfferDTO |
offer |
protected Date |
startDate |
| Constructor and Description |
|---|
OfferCodeDTO(org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
OfferCodeDTO |
wrap(org.broadleafcommerce.core.offer.domain.OfferCode offerCode) |
protected Long id
protected Date startDate
protected Date endDate
protected Integer maxUses
protected String code
protected String emailAddress
protected OfferDTO offer
protected org.springframework.context.ApplicationContext context
@Autowired public OfferCodeDTO(org.springframework.context.ApplicationContext applicationContext)
public OfferCodeDTO wrap(org.broadleafcommerce.core.offer.domain.OfferCode offerCode)
Copyright © 2020. All rights reserved.