Class DefaultSapRevenueCloudCustomerOutboundService
java.lang.Object
com.sap.hybris.saprevenuecloudcustomer.service.impl.DefaultSapRevenueCloudCustomerOutboundService
- All Implemented Interfaces:
SapRevenueCloudCustomerOutboundService
public class DefaultSapRevenueCloudCustomerOutboundService
extends Object
implements SapRevenueCloudCustomerOutboundService
Default implementation of
SapRevenueCloudCustomerOutboundService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.servicelayer.config.ConfigurationServicede.hybris.platform.outboundservices.facade.OutboundServiceFacadepublishCustomerUpdate(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<Map>>sendCustomerData(CustomerModel customerModel, String baseStoreUid, String sessionLanguage, AddressModel addressModel) Send customer data to revenue cloud via CPI.voidsetCloudPlatformIntegrationConnection(CloudPlatformIntegrationConnection cloudPlatformIntegrationConnection) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetOutboundServiceFacade(de.hybris.platform.outboundservices.facade.OutboundServiceFacade outboundServiceFacade) voidsetSapCpiCustomerConversionService(SapCpiCustomerConversionService sapCpiCustomerConversionService)
-
Constructor Details
-
DefaultSapRevenueCloudCustomerOutboundService
public DefaultSapRevenueCloudCustomerOutboundService()
-
-
Method Details
-
sendCustomerData
public rx.Observable<org.springframework.http.ResponseEntity<Map>> sendCustomerData(CustomerModel customerModel, String baseStoreUid, String sessionLanguage, AddressModel addressModel) Description copied from interface:SapRevenueCloudCustomerOutboundServiceSend customer data to revenue cloud via CPI.- Specified by:
sendCustomerDatain interfaceSapRevenueCloudCustomerOutboundService- Parameters:
customerModel- customer modelbaseStoreUid- base store uidsessionLanguage- session languageaddressModel- address model- Returns:
- Observable of response
-
publishCustomerUpdate
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:
IOException- if unable to publish.
-
getCloudPlatformIntegrationConnection
- Returns:
- the cloudPlatformIntegrationConnection
-
setCloudPlatformIntegrationConnection
public void setCloudPlatformIntegrationConnection(CloudPlatformIntegrationConnection cloudPlatformIntegrationConnection) - Parameters:
cloudPlatformIntegrationConnection- the cloudPlatformIntegrationConnection to set
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) - Parameters:
configurationService- the configurationService to set
-
getSapCpiCustomerConversionService
- Returns:
- the sapCpiCustomerConversionService
-
setSapCpiCustomerConversionService
public void setSapCpiCustomerConversionService(SapCpiCustomerConversionService sapCpiCustomerConversionService) - Parameters:
sapCpiCustomerConversionService- the sapCpiCustomerConversionService to set
-
getOutboundServiceFacade
public de.hybris.platform.outboundservices.facade.OutboundServiceFacade getOutboundServiceFacade()- Returns:
- the outboundServiceFacade
-
setOutboundServiceFacade
public void setOutboundServiceFacade(de.hybris.platform.outboundservices.facade.OutboundServiceFacade outboundServiceFacade) - Parameters:
outboundServiceFacade- the outboundServiceFacade to set
-