public class ReferencedWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.secure.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 |
Constructor and Description |
---|
ReferencedWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getAccountNumber() |
String |
getCvvCode() |
Integer |
getExpirationMonth() |
Integer |
getExpirationYear() |
Long |
getId() |
String |
getPan() |
String |
getPin() |
String |
getReferenceNumber() |
String |
getRoutingNumber() |
String |
getType() |
void |
setAccountNumber(String accountNumber) |
void |
setCvvCode(String cvvCode) |
void |
setExpirationMonth(Integer expirationMonth) |
void |
setExpirationYear(Integer expirationYear) |
void |
setId(Long id) |
void |
setPan(String pan) |
void |
setPin(String pin) |
void |
setReferenceNumber(String referenceNumber) |
void |
setRoutingNumber(String routingNumber) |
void |
setType(String type) |
org.broadleafcommerce.core.payment.domain.secure.Referenced |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(org.broadleafcommerce.core.payment.domain.secure.Referenced model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.payment.domain.secure.Referenced model,
javax.servlet.http.HttpServletRequest request) |
protected 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(org.broadleafcommerce.core.payment.domain.secure.Referenced model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
public org.broadleafcommerce.core.payment.domain.secure.Referenced unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap
in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
public void wrapSummary(org.broadleafcommerce.core.payment.domain.secure.Referenced model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.payment.domain.secure.Referenced>
public Long getId()
public void setId(Long id)
id
- the id to setpublic String getReferenceNumber()
public void setReferenceNumber(String referenceNumber)
referenceNumber
- the referenceNumber to setpublic String getType()
public void setType(String type)
type
- the type to setpublic String getPan()
public void setPan(String pan)
pan
- the pan to setpublic String getCvvCode()
public void setCvvCode(String cvvCode)
cvvCode
- the cvvCode to setpublic Integer getExpirationMonth()
public void setExpirationMonth(Integer expirationMonth)
expirationMonth
- the expirationMonth to setpublic Integer getExpirationYear()
public void setExpirationYear(Integer expirationYear)
expirationYear
- the expirationYear to setpublic String getAccountNumber()
public void setAccountNumber(String accountNumber)
accountNumber
- the accountNumber to setpublic String getRoutingNumber()
public void setRoutingNumber(String routingNumber)
routingNumber
- the routingNumber to setpublic String getPin()
public void setPin(String pin)
pin
- the pin to setCopyright © 2020. All rights reserved.