org.broadleafcommerce.core.web.api.wrapper
public class AddressWrapper extends BaseWrapper implements APIWrapper<Address>, APIUnwrapper<Address>
| Modifier and Type | Field and Description |
|---|---|
protected String |
addressLine1 |
protected String |
addressLine2 |
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 |
wrap(Address model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String firstName
protected String lastName
protected String addressLine1
protected String addressLine2
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 wrap(Address model, javax.servlet.http.HttpServletRequest request)
wrap 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.