Interface SubscriptionBillingApiClient

All Known Implementing Classes:
DefaultSubscriptionBillingApiClient

public interface SubscriptionBillingApiClient
Api Client for Subscription Billing
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz)
    Calls API and returns parsed response
    <T> org.springframework.http.ResponseEntity<T>
    getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz)
    Calls API And returns Raw Response
    void
    postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity)
    Calls Api with post method
    <T> T
    postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity, Class<T> response)
    Calls Api with post method
  • Method Details

    • postEntity

      void postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity)
      Calls Api with post method
      Parameters:
      uriComponents - uri that need to be called
      entity - entity that needs to be posted
    • postEntity

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

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

      <T> org.springframework.http.ResponseEntity<T> getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz)
      Calls API And returns Raw Response
      Type Parameters:
      T - Expected Response Class
      Parameters:
      uriComponents - uri component that needs to be called
      clazz - Expected Response Class
      Returns:
      ResponseEntity Raw response