Class SapCustomerIdMatchingStrategy

java.lang.Object
com.sap.hybris.sapcustomerb2c.strategy.SapCustomerIdMatchingStrategy
All Implemented Interfaces:
de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy

public class SapCustomerIdMatchingStrategy extends Object implements de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy
SAP customer ID matching strategy implementation for UserPropertyMatchingStrategy. The customerId pattern used in OCC should match the customerId pattern generated by the sapCustomerIdGenerator.
  • Constructor Details

    • SapCustomerIdMatchingStrategy

      public SapCustomerIdMatchingStrategy(de.hybris.platform.commerceservices.customer.CustomerService customerService)
  • Method Details

    • getUserByProperty

      public <T extends UserModel> Optional<T> getUserByProperty(String propertyValue, Class<T> clazz)
      Specified by:
      getUserByProperty in interface de.hybris.platform.commerceservices.strategies.UserPropertyMatchingStrategy
    • isSupported

      protected boolean isSupported(String propertyValue, Class<?> clazz)
    • getCustomerService

      public de.hybris.platform.commerceservices.customer.CustomerService getCustomerService()