public class AddressWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.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 |
Constructor and Description |
---|
AddressWrapper() |
protected 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(org.broadleafcommerce.profile.core.domain.Address model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>
public void wrapSummary(org.broadleafcommerce.profile.core.domain.Address model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Address>
public org.broadleafcommerce.profile.core.domain.Address unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
unwrap
in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Address>
public Long getId()
public void setId(Long id)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getAddressLine1()
public void setAddressLine1(String addressLine1)
public String getAddressLine2()
public void setAddressLine2(String addressLine2)
public String getAddressLine3()
public void setAddressLine3(String addressLine3)
public String getCity()
public void setCity(String city)
public StateWrapper getState()
public void setState(StateWrapper state)
public CountryWrapper getCountry()
public void setCountry(CountryWrapper country)
public String getIsoCountrySubdivision()
public void setIsoCountrySubdivision(String isoCountrySubdivision)
public String getStateProvinceRegion()
public void setStateProvinceRegion(String stateProvinceRegion)
public ISOCountryWrapper getIsoCountryAlpha2()
public void setIsoCountryAlpha2(ISOCountryWrapper isoCountryAlpha2)
public String getPostalCode()
public void setPostalCode(String postalCode)
public PhoneWrapper getPhonePrimary()
public void setPhonePrimary(PhoneWrapper phonePrimary)
public PhoneWrapper getPhoneSecondary()
public void setPhoneSecondary(PhoneWrapper phoneSecondary)
public PhoneWrapper getPhoneFax()
public void setPhoneFax(PhoneWrapper phoneFax)
public String getCompanyName()
public void setCompanyName(String companyName)
public Boolean getIsBusiness()
public void setIsBusiness(Boolean isBusiness)
public Boolean getIsDefault()
public void setIsDefault(Boolean isDefault)
Copyright © 2020. All rights reserved.