Class DefaultSapEntitlementOutboundService

    • Constructor Detail

      • DefaultSapEntitlementOutboundService

        public DefaultSapEntitlementOutboundService()
    • Method Detail

      • sendRequest

        public <T> T sendRequest​(java.lang.Object request,
                                 java.lang.Class<T> responseClass,
                                 java.lang.String destinationID)
        Sends request to SAP Entitlements.
        Specified by:
        sendRequest in interface SapEntitlementOutboundService
        Type Parameters:
        T - Type of the response object
        Parameters:
        request - Request object
        responseClass - Type to map with API response
        destinationID - Destination ID for target destination
        Returns:
        The response of the request
      • 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