Class CustomerAttributeWrapper
java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.CustomerAttributeWrapper
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>,org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class CustomerAttributeWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>, org.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>
API wrapper to wrap Customer Attributes.
- Author:
- Priyesh Patel
- See Also:
-
Field Summary
FieldsFields inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getValue()voidsetCustomerId(Long customerId) voidvoidvoidorg.broadleafcommerce.profile.core.domain.CustomerAttributeunwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context) voidwrapDetails(org.broadleafcommerce.profile.core.domain.CustomerAttribute model, jakarta.servlet.http.HttpServletRequest request) voidwrapSummary(org.broadleafcommerce.profile.core.domain.CustomerAttribute model, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
createElementWrappers, setApplicationContext, transferAdditionalFieldsFromWrapper
-
Field Details
-
id
-
name
-
value
-
customerId
-
-
Constructor Details
-
CustomerAttributeWrapper
public CustomerAttributeWrapper()
-
-
Method Details
-
wrapDetails
public void wrapDetails(org.broadleafcommerce.profile.core.domain.CustomerAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapDetailsin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>
-
wrapSummary
public void wrapSummary(org.broadleafcommerce.profile.core.domain.CustomerAttribute model, jakarta.servlet.http.HttpServletRequest request) - Specified by:
wrapSummaryin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>
-
unwrap
public org.broadleafcommerce.profile.core.domain.CustomerAttribute unwrap(jakarta.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context) - Specified by:
unwrapin interfaceorg.broadleafcommerce.common.rest.api.wrapper.APIUnwrapper<org.broadleafcommerce.profile.core.domain.CustomerAttribute>
-
getId
-
setId
-
getName
-
setName
-
getValue
-
setValue
-
getCustomerId
-
setCustomerId
-