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

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.AmountItemWrapper
All Implemented Interfaces:
APIUnwrapper<AmountItem>, APIWrapper<AmountItem>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class AmountItemWrapper
extends BaseWrapper
implements APIWrapper<AmountItem>, APIUnwrapper<AmountItem>

This is a JAXB wrapper around PaymentInfo.

User: Elbert Bautista Date: 4/26/12


Field Summary
protected  String description
           
protected  Long id
           
protected  Long paymentInfoId
           
protected  Long quantity
           
protected  String shortDescription
           
protected  String systemId
           
protected  BigDecimal unitPrice
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
AmountItemWrapper()
           
 
Method Summary
 AmountItem unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
           
 void wrap(AmountItem 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

description

protected String description

paymentInfoId

protected Long paymentInfoId

quantity

protected Long quantity

shortDescription

protected String shortDescription

systemId

protected String systemId

unitPrice

protected BigDecimal unitPrice
Constructor Detail

AmountItemWrapper

public AmountItemWrapper()
Method Detail

wrap

public void wrap(AmountItem model,
                 javax.servlet.http.HttpServletRequest request)
Specified by:
wrap in interface APIWrapper<AmountItem>

unwrap

public AmountItem unwrap(javax.servlet.http.HttpServletRequest request,
                         org.springframework.context.ApplicationContext context)
Specified by:
unwrap in interface APIUnwrapper<AmountItem>


Copyright © 2013. All Rights Reserved.