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 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: SapRevenueCloudCustomerOutboundService
      Send customer data to revenue cloud via CPI.
      Specified by:
      sendCustomerData in interface SapRevenueCloudCustomerOutboundService
      Parameters:
      customerModel - customer model
      baseStoreUid - base store uid
      sessionLanguage - session language
      addressModel - address model
      Returns:
      Observable of response
    • publishCustomerUpdate

      public ResponseData publishCustomerUpdate(Customer customerJson) throws 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 interface SapRevenueCloudCustomerOutboundService
      Parameters:
      customerJson - Customer Json object
      Returns:
      ResponseData
      Throws:
      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 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

      public SapCpiCustomerConversionService 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