Class QuotesBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-10-12T13:18:35.875084Z[Etc/UTC]")
    public class QuotesBankApi
    extends Object
    • Constructor Detail

      • QuotesBankApi

        public QuotesBankApi()
      • QuotesBankApi

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

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createQuote

        public reactor.core.publisher.Mono<QuoteBankModel> createQuote​(PostQuoteBankModel postQuoteBankModel)
                                                                throws org.springframework.web.reactive.function.client.WebClientResponseException
        Create Quote Creates a quote. Required scope: **quotes:execute**

        201 - quote created

        400 - Invalid requests - malformed authentication header

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        422 - Unable to process request

        500 - Internal server error

        Parameters:
        postQuoteBankModel - The postQuoteBankModel parameter
        Returns:
        QuoteBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • createQuoteWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteBankModel>> createQuoteWithHttpInfo​(PostQuoteBankModel postQuoteBankModel)
                                                                                                                     throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • getQuote

        public reactor.core.publisher.Mono<QuoteBankModel> getQuote​(String quoteGuid)
                                                             throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get Quote Retrieves a quote. Required scope: **quotes:read**

        200 - quote found

        400 - Invalid requests - malformed authentication header

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        404 - quote not found

        Parameters:
        quoteGuid - Identifier for the quote.
        Returns:
        QuoteBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • getQuoteWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteBankModel>> getQuoteWithHttpInfo​(String quoteGuid)
                                                                                                                  throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • listQuotes

        public reactor.core.publisher.Mono<QuoteListBankModel> listQuotes​(BigInteger page,
                                                                          BigInteger perPage,
                                                                          String guid,
                                                                          String bankGuid,
                                                                          String customerGuid)
                                                                   throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get quotes list Retrieves a listing of quotes for all customers of a bank. Required scope: **quotes:read**

        200 - get list of quotes

        400 - Invalid requests - malformed authentication header

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        Parameters:
        page - The page parameter
        perPage - The perPage parameter
        guid - Comma separated quote_guids to list quotes for.
        bankGuid - Comma separated bank_guids to list quotes for.
        customerGuid - Comma separated customer_guids to list quotes for.
        Returns:
        QuoteListBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • listQuotesWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteListBankModel>> listQuotesWithHttpInfo​(BigInteger page,
                                                                                                                               BigInteger perPage,
                                                                                                                               String guid,
                                                                                                                               String bankGuid,
                                                                                                                               String customerGuid)
                                                                                                                        throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException