org.broadleafcommerce.core.web.api.wrapper
Class AdjustmentWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.AdjustmentWrapper
- All Implemented Interfaces:
- APIWrapper<Adjustment>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class AdjustmentWrapper
- extends BaseWrapper
- implements APIWrapper<Adjustment>
This is a JAXB wrapper around OrderAdjustmentWrapper.
Author: ppatel, bpolster
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
offerid
protected Long offerid
reason
protected String reason
marketingMessage
protected String marketingMessage
adjustmentValue
protected Money adjustmentValue
discountType
protected String discountType
discountAmount
protected BigDecimal discountAmount
AdjustmentWrapper
public AdjustmentWrapper()
wrapDetails
public void wrapDetails(Adjustment model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<Adjustment>
wrapSummary
public void wrapSummary(Adjustment model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<Adjustment>
Copyright © 2013. All Rights Reserved.