Class DefaultSapEntitlementOutboundService
java.lang.Object
com.sap.hybris.sapentitlementsintegration.service.impl.DefaultSapEntitlementOutboundService
- All Implemented Interfaces:
SapEntitlementOutboundService
public class DefaultSapEntitlementOutboundService
extends Object
implements SapEntitlementOutboundService
Default implementation of SapEntitlementOutboundService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel>sendRequest(GetEntitlementRequest request) Deprecated, for removal: This API element is subject to removal in a future version.not used anymore.<T> TsendRequest(Object request, Class<T> responseClass, String destinationID) Sends request to SAP Entitlements.voidsetDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> destinationService) voidsetSapEntitlementRestTemplateFactory(SapEntitlementRestTemplateFactory sapEntitlementRestTemplateFactory)
-
Constructor Details
-
DefaultSapEntitlementOutboundService
public DefaultSapEntitlementOutboundService()
-
-
Method Details
-
sendRequest
Sends request to SAP Entitlements.- Specified by:
sendRequestin interfaceSapEntitlementOutboundService- Type Parameters:
T- Type of the response object- Parameters:
request- Request objectresponseClass- Type to map with API responsedestinationID- Destination ID for target destination- Returns:
- The response of the request
-
sendRequest
@Deprecated(since="1905.2003-CEP", forRemoval=true) public Entitlements sendRequest(GetEntitlementRequest request) Deprecated, for removal: This API element is subject to removal in a future version.not used anymore.- Specified by:
sendRequestin interfaceSapEntitlementOutboundService
-
getDestinationService
public de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> getDestinationService()- Returns:
- the destinationService
-
setDestinationService
public void setDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> destinationService) - Parameters:
destinationService- the destinationService to set
-
setSapEntitlementRestTemplateFactory
public void setSapEntitlementRestTemplateFactory(SapEntitlementRestTemplateFactory sapEntitlementRestTemplateFactory) - Parameters:
sapEntitlementRestTemplateFactory- the sapEntitlementRestTemplateFactory to set
-