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 CloudPlatformIntegrationConnection
getCloudPlatformIntegrationConnection()
ConfigurationService
getConfigurationService()
OutboundServiceFacade
getOutboundServiceFacade()
SapCpiCustomerConversionService
getSapCpiCustomerConversionService()
ResponseData
publishCustomerUpdate(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.void
setCloudPlatformIntegrationConnection(CloudPlatformIntegrationConnection cloudPlatformIntegrationConnection)
void
setConfigurationService(ConfigurationService configurationService)
void
setOutboundServiceFacade(OutboundServiceFacade outboundServiceFacade)
void
setSapCpiCustomerConversionService(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:SapRevenueCloudCustomerOutboundService
Send customer data to revenue cloud via CPI.- Specified by:
sendCustomerData
in interfaceSapRevenueCloudCustomerOutboundService
-
publishCustomerUpdate
public ResponseData publishCustomerUpdate(Customer customerJson) throws java.io.IOException
Description copied from interface:SapRevenueCloudCustomerOutboundService
Triggers Customer Update iflow in Cloud Platform Integration which fetches the customer data from Revenue Cloud and updates in Commerce- Specified by:
publishCustomerUpdate
in 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
-
-