org.broadleafcommerce.core.web.api.wrapper
Class OfferWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.OfferWrapper
- All Implemented Interfaces:
- APIWrapper<Offer>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class OfferWrapper
- extends BaseWrapper
- implements APIWrapper<Offer>
This is a JAXB wrapper around OfferWrapper.
User: Priyesh Patel
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
|
Method Summary |
void |
wrapDetails(Offer model,
javax.servlet.http.HttpServletRequest request)
|
void |
wrapSummary(Offer model,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offerId
protected Long offerId
startDate
protected String startDate
endDate
protected String endDate
marketingMessage
protected String marketingMessage
description
protected String description
name
protected String name
automatic
protected Boolean automatic
offerType
protected BroadleafEnumerationTypeWrapper offerType
discountType
protected BroadleafEnumerationTypeWrapper discountType
maxUses
protected int maxUses
OfferWrapper
public OfferWrapper()
wrapDetails
public void wrapDetails(Offer model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<Offer>
wrapSummary
public void wrapSummary(Offer model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<Offer>
Copyright © 2013. All Rights Reserved.