Class WarningManagerService

java.lang.Object
com.github.badpop.jcoinbase.service.WarningManagerService

public class WarningManagerService
extends java.lang.Object
An utility class that allow JCoinbase to log warning(s) returned by the coinbase api
  • Constructor Details

    • WarningManagerService

      public WarningManagerService()
  • Method Details

    • alertIfCoinbaseHasReturnedWarnings

      public <T> void alertIfCoinbaseHasReturnedWarnings​(DataDto<T> data)
      Log coinbase warnings if presents, do nothing otherwise
      Type Parameters:
      T - the type wanted initially by making the request
      Parameters:
      data - the DataDto computed from the coinbase response
    • alertIfCoinbaseHasReturnedWarnings

      public <T> void alertIfCoinbaseHasReturnedWarnings​(PaginatedResponseDto<T> data)
      Log coinbase warnings if presents, do nothing otherwise
      Type Parameters:
      T - the type wanted initially by making the request
      Parameters:
      data - the DataDto computed from the coinbase response