Interface PPSConfigService

All Known Implementing Classes:
DefaultPPSConfigService

public interface PPSConfigService
Access to the configuration relevant for price calculation via OPPS
  • Method Details

    • isPpsActive

      boolean isPpsActive(ProductModel prod)
      Determines if price calculation via PPS functionality is active
      Parameters:
      prod - Product
      Returns:
      true if price calculation via PPS is active for given product
    • isPpsActive

      boolean isPpsActive(AbstractOrderModel order)
      Determines if price calculation via PPS functionality is active
      Parameters:
      order - cart / order
      Returns:
      true if price calculation via PPS is active for given order
    • getBusinessUnitId

      String getBusinessUnitId(ProductModel prod)
      Find the business unit ID for which the price calculation shall take place for given product
      Parameters:
      prod - Product
      Returns:
      the business unit ID for which the price calculation shall take place for given product
    • getBusinessUnitId

      String getBusinessUnitId(AbstractOrderModel order)
      Find the business unit ID for which the price calculation shall take place for given order
      Parameters:
      order - order
      Returns:
      the business unit ID for which the price calculation shall take place for given order
    • getSapConfig

      SAPConfigurationModel getSapConfig(ProductModel prod)
      Find SAPConfiguration Object from given product
      Parameters:
      prod - Product
      Returns:
      the relevant SAP base store configuration for this product
    • getClientInterfaceVersion

      InterfaceVersion getClientInterfaceVersion(AbstractOrderModel order)
      Find client interface version for the given order
      Parameters:
      order - order
      Returns:
      the client interface version for the given order
    • getClientInterfaceVersion

      InterfaceVersion getClientInterfaceVersion(ProductModel prod)
      Find client interface version for the given product
      Parameters:
      prod - product
      Returns:
      the client interface version for the given product
    • getSourceSystemId

      String getSourceSystemId(AbstractOrderModel order)
      Find the source system ID for given order
      Parameters:
      order - order
      Returns:
      the master system source id for the given order
    • getSourceSystemId

      String getSourceSystemId(ProductModel prod)
      Find the source system ID for given product
      Parameters:
      prod - product id
      Returns:
      the master system source id for this product