public class AddressWrapper extends BaseWrapper implements APIWrapper<Address>, APIUnwrapper<Address>
| Modifier and Type | Field and Description |
|---|---|
protected String |
addressLine1 |
protected String |
addressLine2 |
protected String |
addressLine3 |
protected String |
city |
protected String |
companyName |
protected CountryWrapper |
country |
protected String |
firstName |
protected Long |
id |
protected Boolean |
isBusiness |
protected Boolean |
isDefault |
protected String |
lastName |
protected PhoneWrapper |
phoneFax |
protected PhoneWrapper |
phonePrimary |
protected PhoneWrapper |
phoneSecondary |
protected String |
postalCode |
protected StateWrapper |
state |
context| Constructor and Description |
|---|
AddressWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Address |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext) |
void |
wrapDetails(Address model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Address model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String firstName
protected String lastName
protected String addressLine1
protected String addressLine2
protected String addressLine3
protected String city
protected StateWrapper state
protected CountryWrapper country
protected String postalCode
protected PhoneWrapper phonePrimary
protected PhoneWrapper phoneSecondary
protected PhoneWrapper phoneFax
protected String companyName
protected Boolean isBusiness
protected Boolean isDefault
public void wrapDetails(Address model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Address>public void wrapSummary(Address model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Address>public Address unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
unwrap in interface APIUnwrapper<Address>Copyright © 2014. All Rights Reserved.