Class MockOMSAService
java.lang.Object
de.hybris.platform.sapomsaservices.services.impl.DefaultAbstractOMSAService<OMSATestRequest,OMSATestResponse>
de.hybris.platform.sapomsaservices.services.impl.MockOMSAService
- All Implemented Interfaces:
OMSAService<OMSATestRequest,,OMSATestResponse> OMSATestService
public class MockOMSAService
extends DefaultAbstractOMSAService<OMSATestRequest,OMSATestResponse>
implements OMSATestService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEnabled(BaseStoreModel store) Checks if OMSA falgs are enabledvoidsetBaseStoreModel(BaseStoreModel baseStoreModel) voidsetIsEnabled(boolean enabled) voidsetResponseType(Class<OMSATestResponse> responseType) Methods inherited from class de.hybris.platform.sapomsaservices.services.impl.DefaultAbstractOMSAService
callOMSA, getBaseStoreService, getConsumedDestination, getDestinationService, getOmsaConnector, getResponseType, getSapMappedDestinationService, setBaseStoreService, setDestinationService, setOmsaConnector, 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, getProductCodeMethods inherited from interface de.hybris.platform.sapomsaservices.services.OMSATestService
buildRequestPayload
-
Constructor Details
-
MockOMSAService
public MockOMSAService()
-
-
Method Details
-
setIsEnabled
public void setIsEnabled(boolean enabled) -
setResponseType
- Overrides:
setResponseTypein classDefaultAbstractOMSAService<OMSATestRequest,OMSATestResponse>
-
isEnabled
Description copied from interface:OMSAServiceChecks if OMSA falgs are enabled- Specified by:
isEnabledin interfaceOMSAService<OMSATestRequest,OMSATestResponse> - Parameters:
store- store- Returns:
- boolean
-
testOMSAGenericServiceStructure
- Specified by:
testOMSAGenericServiceStructurein interfaceOMSATestService
-
setBaseStoreModel
-