org.broadleafcommerce.core.web.api.wrapper
Class AdjustmentWrapper

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by 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


Field Summary
protected  Money adjustmentValue
           
protected  BigDecimal discountAmount
           
protected  String discountType
           
protected  Long id
           
protected  String marketingMessage
           
protected  Long offerid
           
protected  String reason
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
AdjustmentWrapper()
           
 
Method Summary
 void wrapDetails(Adjustment model, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(Adjustment model, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AdjustmentWrapper

public AdjustmentWrapper()
Method Detail

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.