Package com.sap.retail.sapppspricing
Interface PPSConfigService
- All Known Implementing Classes:
DefaultPPSConfigService
public interface PPSConfigService
Access to the configuration relevant for price calculation via OPPS
-
Method Summary
Modifier and TypeMethodDescriptionFind the business unit ID for which the price calculation shall take place for given orderFind the business unit ID for which the price calculation shall take place for given productFind client interface version for the given orderFind client interface version for the given productgetSapConfig(ProductModel prod) Find SAPConfiguration Object from given productFind the source system ID for given orderFind the source system ID for given productbooleanisPpsActive(AbstractOrderModel order) Determines if price calculation via PPS functionality is activebooleanisPpsActive(ProductModel prod) Determines if price calculation via PPS functionality is active
-
Method Details
-
isPpsActive
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
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
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
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
Find SAPConfiguration Object from given product- Parameters:
prod- Product- Returns:
- the relevant SAP base store configuration for this product
-
getClientInterfaceVersion
Find client interface version for the given order- Parameters:
order- order- Returns:
- the client interface version for the given order
-
getClientInterfaceVersion
Find client interface version for the given product- Parameters:
prod- product- Returns:
- the client interface version for the given product
-
getSourceSystemId
Find the source system ID for given order- Parameters:
order- order- Returns:
- the master system source id for the given order
-
getSourceSystemId
Find the source system ID for given product- Parameters:
prod- product id- Returns:
- the master system source id for this product
-