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
Deprecated.
|
protected String |
firstName |
protected Long |
id |
protected Boolean |
isBusiness |
protected Boolean |
isDefault |
protected ISOCountryWrapper |
isoCountryAlpha2 |
protected String |
isoCountrySubdivision |
protected String |
lastName |
protected PhoneWrapper |
phoneFax |
protected PhoneWrapper |
phonePrimary |
protected PhoneWrapper |
phoneSecondary |
protected String |
postalCode |
protected StateWrapper |
state
Deprecated.
|
protected String |
stateProvinceRegion |
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
@Deprecated protected StateWrapper state
@Deprecated protected CountryWrapper country
protected String isoCountrySubdivision
protected String stateProvinceRegion
protected ISOCountryWrapper isoCountryAlpha2
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 © 2015. All Rights Reserved.