Class CounterpartiesBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-06-11T18:43:05.352561Z[Etc/UTC]")
    public class CounterpartiesBankApi
    extends Object
    • Constructor Detail

      • CounterpartiesBankApi

        public CounterpartiesBankApi()
      • CounterpartiesBankApi

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

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createCounterparty

        public reactor.core.publisher.Mono<CounterpartyBankModel> createCounterparty​(PostCounterpartyBankModel postCounterpartyBankModel)
                                                                              throws org.springframework.web.reactive.function.client.WebClientResponseException
        Create Counterparty Creates a counterparty. ## Counterparty Type Counterparty resources are an abstraction for real world individuals and businesses that are not directly on the Cybrid Platform. ## State | State | Description | |-------|-------------| | storing | The Platform is storing the counterparty details in our private store | | unverified | The Platform has not yet verified the counterparty's identity | | verified | The Platform has verified the counterparty's identity | | rejected | The Platform was not able to successfully verify the counterparty's identity | Required scope: **counterparties:execute**

        201 - counterparty created

        422 - Unprocessable Entity

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

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CounterpartyBankModel>> createCounterpartyWithHttpInfo​(PostCounterpartyBankModel postCounterpartyBankModel)
                                                                                                                                   throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • getCounterparty

        public reactor.core.publisher.Mono<CounterpartyBankModel> getCounterparty​(String counterpartyGuid,
                                                                                  Boolean includePii)
                                                                           throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get Counterparty Retrieves a counterparty. Required scope: **counterparties:read**

        200 - counterparty found

        Parameters:
        counterpartyGuid - Identifier for the counterparty.
        includePii - Include PII in the response.
        Returns:
        CounterpartyBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • getCounterpartyWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CounterpartyBankModel>> getCounterpartyWithHttpInfo​(String counterpartyGuid,
                                                                                                                                       Boolean includePii)
                                                                                                                                throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • listCounterparties

        public reactor.core.publisher.Mono<CounterpartyListBankModel> listCounterparties​(BigInteger page,
                                                                                         BigInteger perPage,
                                                                                         String bankGuid,
                                                                                         String customerGuid,
                                                                                         String guid,
                                                                                         String label)
                                                                                  throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get counterparties list Retrieves a listing of counterparties. Required scope: **counterparties:read**

        200 - get list of counterparties

        Parameters:
        page - The page parameter
        perPage - The perPage parameter
        bankGuid - Comma separated bank_guids to list counterparties for.
        customerGuid - Comma separated customer_guids to list counterparties for.
        guid - Comma separated counterparty_guids to list counterparties for.
        label - Comma separated labels to list counterparties for.
        Returns:
        CounterpartyListBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • listCounterpartiesWithHttpInfo

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