public class PhoneWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Phone>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Phone>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected Boolean |
isActive |
protected Boolean |
isDefault |
protected String |
phoneNumber |
| Constructor and Description |
|---|
PhoneWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId() |
Boolean |
getIsActive() |
Boolean |
getIsDefault() |
String |
getPhoneNumber() |
void |
setId(Long id) |
void |
setIsActive(Boolean isActive) |
void |
setIsDefault(Boolean isDefault) |
void |
setPhoneNumber(String phoneNumber) |
org.broadleafcommerce.profile.core.domain.Phone |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext appContext) |
void |
wrapDetails(org.broadleafcommerce.profile.core.domain.Phone model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.profile.core.domain.Phone model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected String phoneNumber
protected Boolean isActive
protected Boolean isDefault
public void wrapDetails(org.broadleafcommerce.profile.core.domain.Phone model,
javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Phone>public void wrapSummary(org.broadleafcommerce.profile.core.domain.Phone model,
javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Phone>public org.broadleafcommerce.profile.core.domain.Phone 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.Phone>public Long getId()
public void setId(Long id)
id - the id to setpublic String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber - the phoneNumber to setpublic Boolean getIsActive()
public void setIsActive(Boolean isActive)
isActive - the isActive to setpublic Boolean getIsDefault()
public void setIsDefault(Boolean isDefault)
isDefault - the isDefault to setCopyright © 2020. All rights reserved.