Class DefaultOMSAATPService
java.lang.Object
de.hybris.platform.sapomsaservices.services.impl.DefaultAbstractOMSAService<SAPOMSAATPRequest,SAPOMSAATPResponse>
de.hybris.platform.sapomsaservices.services.impl.DefaultOMSAATPService
- All Implemented Interfaces:
OMSAATPService,OMSAService<SAPOMSAATPRequest,SAPOMSAATPResponse>
public class DefaultOMSAATPService
extends DefaultAbstractOMSAService<SAPOMSAATPRequest,SAPOMSAATPResponse>
implements OMSAATPService
Javadoc comment for
DefaultOMSACommerceStockService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SAPOMSAATPRequestbuildRequestPayloadForProductAndBaseStore(ProductModel product, String strategyId) getStockLevelForProductAndBaseStore(ProductModel product, BaseStoreModel baseStore) gets the stock level for ProductsgetStockLevelStatus(Long stockLevel) gets the stock level status for Productsprotected StringgetUrl(ConsumedDestinationModel consumedDestinationModel) protected LongbooleanisEnabled(BaseStoreModel basestoreModel) Checks if OMSA falgs are enabledvoidsetOmsaConfigurationService(OMSAConfigurationService omsaConfigurationService) Methods inherited from class de.hybris.platform.sapomsaservices.services.impl.DefaultAbstractOMSAService
callOMSA, getBaseStoreService, getConsumedDestination, getDestinationService, getOmsaConnector, getResponseType, getSapMappedDestinationService, setBaseStoreService, setDestinationService, setOmsaConnector, setResponseType, setSapMappedDestinationServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.sapomsaservices.services.OMSAService
createHttpEntity, getProductCode
-
Constructor Details
-
DefaultOMSAATPService
public DefaultOMSAATPService()
-
-
Method Details
-
getStockLevelForProductAndBaseStore
Description copied from interface:OMSAATPServicegets the stock level for Products- Specified by:
getStockLevelForProductAndBaseStorein interfaceOMSAATPService- Parameters:
product- The Product model to be used.baseStore- basestore- Returns:
- Long the stock details
-
getStockLevelStatus
Description copied from interface:OMSAATPServicegets the stock level status for Products- Specified by:
getStockLevelStatusin interfaceOMSAATPService- Parameters:
stockLevel- The Stock level of product.- Returns:
- StockLevelStatus the stock status
-
buildRequestPayloadForProductAndBaseStore
protected SAPOMSAATPRequest buildRequestPayloadForProductAndBaseStore(ProductModel product, String strategyId) -
handleATPError
-
getUrl
-
getOmsaConfigurationService
-
setOmsaConfigurationService
-
isEnabled
Description copied from interface:OMSAServiceChecks if OMSA falgs are enabled- Specified by:
isEnabledin interfaceOMSAService<SAPOMSAATPRequest,SAPOMSAATPResponse> - Parameters:
basestoreModel- store- Returns:
- boolean
-