org.broadleafcommerce.core.web.api.wrapper
Class ReferencedWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
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
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ReferencedWrapper
public ReferencedWrapper()
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.