Class C4CCustomerServiceImpl
java.lang.Object
de.hybris.platform.customerticketingc4cintegration.service.impl.C4CCustomerServiceImpl
- All Implemented Interfaces:
C4CCustomerService
Default Implementation of C4CCustomerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContactByExternalId(String externalId) Get Contact by external IDgetIndividualCustomerByExternalId(String externalId) Get Individual Customer by external IDvoidsetHttpHeaderUtil(HttpHeaderUtil httpHeaderUtil) voidsetJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper jacksonObjectMapper) voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-
Constructor Details
-
C4CCustomerServiceImpl
public C4CCustomerServiceImpl()
-
-
Method Details
-
getIndividualCustomerByExternalId
public IndividualCustomer getIndividualCustomerByExternalId(String externalId) throws C4CServiceException Description copied from interface:C4CCustomerServiceGet Individual Customer by external ID- Specified by:
getIndividualCustomerByExternalIdin interfaceC4CCustomerService- Parameters:
externalId- commerce customer id- Returns:
- Individual Customer by External ID
- Throws:
C4CServiceException- when error occurs due to invalid data
-
getContactByExternalId
Description copied from interface:C4CCustomerServiceGet Contact by external ID- Specified by:
getContactByExternalIdin interfaceC4CCustomerService- Parameters:
externalId- commerce c4c customerId- Returns:
- Contact by External ID
- Throws:
C4CServiceException- when error occurs due to invalid data
-
setJacksonObjectMapper
public void setJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper jacksonObjectMapper) -
setHttpHeaderUtil
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-