Class PricesBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2023-01-04T15:19:40.334058Z[Etc/UTC]")
    public class PricesBankApi
    extends Object
    • Constructor Detail

      • PricesBankApi

        public PricesBankApi()
      • PricesBankApi

        @Autowired
        public PricesBankApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • listPrices

        public reactor.core.publisher.Flux<SymbolPriceBankModel> listPrices​(String symbol)
                                                                     throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get Price Retrieves a listing of symbol prices. ## Symbols Symbol are pairs and are in the format asset-counter_asset, e.g., 'BTC-USD' for the Bitcoin/ USD pair. See the Symbols API for a complete list of cryptocurrencies supported. Required scope: **prices:read**

        200 - get list of price

        400 - Invalid requests - malformed authentication header

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        Parameters:
        symbol - Comma separated symbols to list prices for.
        Returns:
        List<SymbolPriceBankModel>
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • listPricesWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SymbolPriceBankModel>>> listPricesWithHttpInfo​(String symbol)
                                                                                                                                throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException