public class AddressWrapper extends BaseWrapper implements APIWrapper<Address>, APIUnwrapper<Address>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
addressLine1 |
protected java.lang.String |
addressLine2 |
protected java.lang.String |
addressLine3 |
protected java.lang.String |
city |
protected java.lang.String |
companyName |
protected CountryWrapper |
country |
protected java.lang.String |
firstName |
protected java.lang.Long |
id |
protected java.lang.Boolean |
isBusiness |
protected java.lang.Boolean |
isDefault |
protected java.lang.String |
lastName |
protected PhoneWrapper |
phoneFax |
protected PhoneWrapper |
phonePrimary |
protected PhoneWrapper |
phoneSecondary |
protected java.lang.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 java.lang.Long id
protected java.lang.String firstName
protected java.lang.String lastName
protected java.lang.String addressLine1
protected java.lang.String addressLine2
protected java.lang.String addressLine3
protected java.lang.String city
protected StateWrapper state
protected CountryWrapper country
protected java.lang.String postalCode
protected PhoneWrapper phonePrimary
protected PhoneWrapper phoneSecondary
protected PhoneWrapper phoneFax
protected java.lang.String companyName
protected java.lang.Boolean isBusiness
protected java.lang.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 © 2018. All Rights Reserved.