Class DefaultSubscriptionBillingApiClient

java.lang.Object
de.hybris.platform.sap.saprevenuecloudorder.clients.impl.DefaultSubscriptionBillingApiClient
All Implemented Interfaces:
SubscriptionBillingApiClient

public class DefaultSubscriptionBillingApiClient extends Object implements SubscriptionBillingApiClient
  • Constructor Details

    • DefaultSubscriptionBillingApiClient

      public DefaultSubscriptionBillingApiClient()
  • Method Details

    • postEntity

      public void postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity)
      Description copied from interface: SubscriptionBillingApiClient
      Calls Api with post method
      Specified by:
      postEntity in interface SubscriptionBillingApiClient
      Parameters:
      uriComponents - uri that need to be called
      entity - entity that needs to be posted
    • postEntity

      public <T> T postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity, Class<T> response)
      Description copied from interface: SubscriptionBillingApiClient
      Calls Api with post method
      Specified by:
      postEntity in interface SubscriptionBillingApiClient
      Parameters:
      uriComponents - uri that need to be called
      entity - entity that needs to be posted
      Returns:
      Expected response Type
    • getEntity

      public <T> T getEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz)
      Description copied from interface: SubscriptionBillingApiClient
      Calls API and returns parsed response
      Specified by:
      getEntity in interface SubscriptionBillingApiClient
      Type Parameters:
      T - Expected Response
      Parameters:
      uriComponents - uri that need to be called
      clazz - Class of Expected response
      Returns:
      Result from API
    • getRawEntity

      public <T> org.springframework.http.ResponseEntity<T> getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz)
      Description copied from interface: SubscriptionBillingApiClient
      Calls API And returns Raw Response
      Specified by:
      getRawEntity in interface SubscriptionBillingApiClient
      Type Parameters:
      T - Expected Response Class
      Parameters:
      uriComponents - uri component that needs to be called
      clazz - Expected Response Class
      Returns:
      ResponseEntity Raw response
    • setDestinationService

      public void setDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService<ConsumedDestinationModel> destinationService)
    • setIntegrationRestTemplateFactory

      public void setIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)