Class CustomerWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.CustomerWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Customer>, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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>
This is a JAXB wrapper around FulfillmentGroupItem. User: Elbert Bautista Date: 4/18/12
See Also:
  • Field Details

    • id

      protected Long id
    • firstName

      protected String firstName
    • lastName

      protected String lastName
    • emailAddress

      protected String emailAddress
    • registered

      protected boolean registered
    • customerAttributes

      protected List<CustomerAttributeWrapper> customerAttributes
    • archived

      protected Character archived
  • Constructor Details

    • CustomerWrapper

      public CustomerWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.profile.core.domain.Customer model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.profile.core.domain.Customer model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.Customer>
    • unwrap

      public org.broadleafcommerce.profile.core.domain.Customer unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
      Specified by:
      unwrap in interface org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.Customer>
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getFirstName

      public String getFirstName()
    • setFirstName

      public void setFirstName(String firstName)
    • getLastName

      public String getLastName()
    • setLastName

      public void setLastName(String lastName)
    • getEmailAddress

      public String getEmailAddress()
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • getCustomerAttributes

      public List<CustomerAttributeWrapper> getCustomerAttributes()
    • setCustomerAttributes

      public void setCustomerAttributes(List<CustomerAttributeWrapper> customerAttributes)
    • isRegistered

      public boolean isRegistered()
    • setRegistered

      public void setRegistered(boolean registered)