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:
CreditCardPayment
BankAccountPayment
GiftCardPayment
EmptyReferenced
| Modifier and Type | Field and Description |
|---|---|
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 |
context| Constructor and Description |
|---|
ReferencedWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Referenced |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(Referenced model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Referenced model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String referenceNumber
protected String type
protected String pan
protected String cvvCode
protected Integer expirationMonth
protected Integer expirationYear
protected String accountNumber
protected String routingNumber
protected String pin
public void wrapDetails(Referenced model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Referenced>public Referenced unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<Referenced>public void wrapSummary(Referenced model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Referenced>Copyright © 2014. All Rights Reserved.