Package com.sap.retail.sapppspricing
Interface PPSConfigService
-
- All Known Implementing Classes:
DefaultPPSConfigService
public interface PPSConfigServiceAccess to the configuration relevant for price calculation via OPPS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBusinessUnitId(AbstractOrderModel order)Find the business unit ID for which the price calculation shall take place for given orderjava.lang.StringgetBusinessUnitId(ProductModel prod)Find the business unit ID for which the price calculation shall take place for given productInterfaceVersiongetClientInterfaceVersion(AbstractOrderModel order)Find client interface version for the given orderInterfaceVersiongetClientInterfaceVersion(ProductModel prod)Find client interface version for the given productSAPConfigurationModelgetSapConfig(ProductModel prod)Find SAPConfiguration Object from given productjava.lang.StringgetSourceSystemId(AbstractOrderModel order)Find the source system ID for given orderjava.lang.StringgetSourceSystemId(ProductModel prod)Find 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 Detail
-
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
java.lang.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
java.lang.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
java.lang.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
java.lang.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
-
-