org.broadleafcommerce.core.web.api.wrapper
Class AddressWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.AddressWrapper
- All Implemented Interfaces:
- APIUnwrapper<Address>, APIWrapper<Address>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class AddressWrapper
- extends BaseWrapper
- implements APIWrapper<Address>, APIUnwrapper<Address>
This is a JAXB wrapper around Address.
User: Elbert Bautista
Date: 4/10/12
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
|
Method Summary |
Address |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext)
|
void |
wrap(Address model,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
firstName
protected String firstName
lastName
protected String lastName
addressLine1
protected String addressLine1
addressLine2
protected String addressLine2
city
protected String city
state
protected StateWrapper state
country
protected CountryWrapper country
postalCode
protected String postalCode
primaryPhone
protected String primaryPhone
secondaryPhone
protected String secondaryPhone
companyName
protected String companyName
isBusiness
protected Boolean isBusiness
isDefault
protected Boolean isDefault
AddressWrapper
public AddressWrapper()
wrap
public void wrap(Address model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrap in interface APIWrapper<Address>
unwrap
public Address unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext)
- Specified by:
unwrap in interface APIUnwrapper<Address>
Copyright © 2012. All Rights Reserved.