Class DefaultSapRevenueCloudCustomerOutboundService
- java.lang.Object
-
- com.sap.hybris.saprevenuecloudcustomer.service.impl.DefaultSapRevenueCloudCustomerOutboundService
-
- All Implemented Interfaces:
SapRevenueCloudCustomerOutboundService
public class DefaultSapRevenueCloudCustomerOutboundService extends java.lang.Object implements SapRevenueCloudCustomerOutboundService
-
-
Constructor Summary
Constructors Constructor Description DefaultSapRevenueCloudCustomerOutboundService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudPlatformIntegrationConnectiongetCloudPlatformIntegrationConnection()ConfigurationServicegetConfigurationService()OutboundServiceFacadegetOutboundServiceFacade()SapCpiCustomerConversionServicegetSapCpiCustomerConversionService()ResponseDatapublishCustomerUpdate(Customer customerJson)Triggers Customer Update iflow in Cloud Platform Integration which fetches the customer data from Revenue Cloud and updates in Commercerx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>sendCustomerData(CustomerModel customerModel, java.lang.String baseStoreUid, java.lang.String sessionLanguage, AddressModel addressModel)Send customer data to revenue cloud via CPI.voidsetCloudPlatformIntegrationConnection(CloudPlatformIntegrationConnection cloudPlatformIntegrationConnection)voidsetConfigurationService(ConfigurationService configurationService)voidsetOutboundServiceFacade(OutboundServiceFacade outboundServiceFacade)voidsetSapCpiCustomerConversionService(SapCpiCustomerConversionService sapCpiCustomerConversionService)
-
-
-
Method Detail
-
sendCustomerData
public rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> sendCustomerData(CustomerModel customerModel, java.lang.String baseStoreUid, java.lang.String sessionLanguage, AddressModel addressModel)
Description copied from interface:SapRevenueCloudCustomerOutboundServiceSend customer data to revenue cloud via CPI.- Specified by:
sendCustomerDatain interfaceSapRevenueCloudCustomerOutboundService
-
publishCustomerUpdate
public ResponseData publishCustomerUpdate(Customer customerJson) throws java.io.IOException
Description copied from interface:SapRevenueCloudCustomerOutboundServiceTriggers Customer Update iflow in Cloud Platform Integration which fetches the customer data from Revenue Cloud and updates in Commerce- Specified by:
publishCustomerUpdatein interfaceSapRevenueCloudCustomerOutboundService- Parameters:
customerJson- Customer Json object- Returns:
ResponseData- Throws:
java.io.IOException- if unable to publish.
-
getCloudPlatformIntegrationConnection
public CloudPlatformIntegrationConnection getCloudPlatformIntegrationConnection()
- Returns:
- the cloudPlatformIntegrationConnection
-
setCloudPlatformIntegrationConnection
public void setCloudPlatformIntegrationConnection(CloudPlatformIntegrationConnection cloudPlatformIntegrationConnection)
- Parameters:
cloudPlatformIntegrationConnection- the cloudPlatformIntegrationConnection to set
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService- the configurationService to set
-
getSapCpiCustomerConversionService
public SapCpiCustomerConversionService getSapCpiCustomerConversionService()
- Returns:
- the sapCpiCustomerConversionService
-
setSapCpiCustomerConversionService
public void setSapCpiCustomerConversionService(SapCpiCustomerConversionService sapCpiCustomerConversionService)
- Parameters:
sapCpiCustomerConversionService- the sapCpiCustomerConversionService to set
-
getOutboundServiceFacade
public OutboundServiceFacade getOutboundServiceFacade()
- Returns:
- the outboundServiceFacade
-
setOutboundServiceFacade
public void setOutboundServiceFacade(OutboundServiceFacade outboundServiceFacade)
- Parameters:
outboundServiceFacade- the outboundServiceFacade to set
-
-