public class CustomerWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Customer>
Modifier and Type | Field and Description |
---|---|
protected Character |
archived |
protected List<CustomerAttributeWrapper> |
customerAttributes |
protected String |
emailAddress |
protected String |
firstName |
protected Long |
id |
protected String |
lastName |
protected boolean |
registered |
Constructor and Description |
---|
CustomerWrapper() |
Modifier and Type | Method and Description |
---|---|
List<CustomerAttributeWrapper> |
getCustomerAttributes() |
String |
getEmailAddress() |
String |
getFirstName() |
Long |
getId() |
String |
getLastName() |
boolean |
isRegistered() |
void |
setCustomerAttributes(List<CustomerAttributeWrapper> customerAttributes) |
void |
setEmailAddress(String emailAddress) |
void |
setFirstName(String firstName) |
void |
setId(Long id) |
void |
setLastName(String lastName) |
void |
setRegistered(boolean registered) |
org.broadleafcommerce.profile.core.domain.Customer |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context) |
void |
wrapDetails(org.broadleafcommerce.profile.core.domain.Customer model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.profile.core.domain.Customer model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected String firstName
protected String lastName
protected String emailAddress
protected boolean registered
protected List<CustomerAttributeWrapper> customerAttributes
protected Character archived
public void wrapDetails(org.broadleafcommerce.profile.core.domain.Customer model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>
public void wrapSummary(org.broadleafcommerce.profile.core.domain.Customer model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>
public org.broadleafcommerce.profile.core.domain.Customer unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap
in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Customer>
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 getEmailAddress()
public void setEmailAddress(String emailAddress)
public List<CustomerAttributeWrapper> getCustomerAttributes()
public void setCustomerAttributes(List<CustomerAttributeWrapper> customerAttributes)
public boolean isRegistered()
public void setRegistered(boolean registered)
Copyright © 2020. All rights reserved.