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

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

public class ReferencedWrapper
extends BaseWrapper
implements APIWrapper<Referenced>, APIUnwrapper<Referenced>

This is a JAXB wrapper around Referenced. This wrapper can either be an instance of: CreditCardPaymentInfo BankAccountPaymentInfo GiftCardPaymentInfo EmptyReferenced

User: Elbert Bautista Date: 4/26/12


Field Summary
protected  String accountNumber
           
protected  String cvvCode
           
protected  Integer expirationMonth
           
protected  Integer expirationYear
           
protected  Long id
           
protected  String pan
           
protected  String pin
           
protected  String referenceNumber
           
protected  String routingNumber
           
protected  String type
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
ReferencedWrapper()
           
 
Method Summary
 Referenced unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
           
 void wrap(Referenced 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

referenceNumber

protected String referenceNumber

type

protected String type

pan

protected String pan

cvvCode

protected String cvvCode

expirationMonth

protected Integer expirationMonth

expirationYear

protected Integer expirationYear

accountNumber

protected String accountNumber

routingNumber

protected String routingNumber

pin

protected String pin
Constructor Detail

ReferencedWrapper

public ReferencedWrapper()
Method Detail

wrap

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

unwrap

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


Copyright © 2013. All Rights Reserved.