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

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

public class PaymentInfoWrapper
extends BaseWrapper
implements APIWrapper<PaymentInfo>, APIUnwrapper<PaymentInfo>

This is a JAXB wrapper around PaymentInfo.

User: Elbert Bautista Date: 4/26/12


Field Summary
protected  List<MapElementWrapper> additionalFields
           
protected  AddressWrapper address
           
protected  Money amount
           
protected  List<AmountItemWrapper> amountItems
           
protected  String customerIpAddress
           
protected  Long id
           
protected  Long orderId
           
protected  PhoneWrapper phone
           
protected  String referenceNumber
           
protected  String type
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
PaymentInfoWrapper()
           
 
Method Summary
 PaymentInfo unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
           
 void wrap(PaymentInfo 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

orderId

protected Long orderId

type

protected String type

address

protected AddressWrapper address

phone

protected PhoneWrapper phone

additionalFields

protected List<MapElementWrapper> additionalFields

amount

protected Money amount

amountItems

protected List<AmountItemWrapper> amountItems

customerIpAddress

protected String customerIpAddress

referenceNumber

protected String referenceNumber
Constructor Detail

PaymentInfoWrapper

public PaymentInfoWrapper()
Method Detail

wrap

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

unwrap

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


Copyright © 2012. All Rights Reserved.