Class C4CCustomerServiceImpl
- java.lang.Object
-
- de.hybris.platform.customerticketingc4cintegration.service.impl.C4CCustomerServiceImpl
-
- All Implemented Interfaces:
C4CCustomerService
public class C4CCustomerServiceImpl extends java.lang.Object implements C4CCustomerService
Default Implementation of C4CCustomerService
-
-
Constructor Summary
Constructors Constructor Description C4CCustomerServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactgetContactByExternalId(java.lang.String externalId)Get Contact by external IDIndividualCustomergetIndividualCustomerByExternalId(java.lang.String externalId)Get Individual Customer by external IDvoidsetHttpHeaderUtil(HttpHeaderUtil httpHeaderUtil)voidsetJacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper jacksonObjectMapper)voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-
-
-
Method Detail
-
getIndividualCustomerByExternalId
public IndividualCustomer getIndividualCustomerByExternalId(java.lang.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
public Contact getContactByExternalId(java.lang.String externalId) throws C4CServiceException
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
public void setHttpHeaderUtil(HttpHeaderUtil httpHeaderUtil)
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-
-