Class CounterpartiesBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.CounterpartiesBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-08T18:42:20.292688Z[Etc/UTC]") public class CounterpartiesBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description CounterpartiesBankApi()CounterpartiesBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<CounterpartyBankModel>createCounterparty(PostCounterpartyBankModel postCounterpartyBankModel)Create Counterparty Creates a counterparty.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CounterpartyBankModel>>createCounterpartyWithHttpInfo(PostCounterpartyBankModel postCounterpartyBankModel)ApiClientgetApiClient()reactor.core.publisher.Mono<CounterpartyBankModel>getCounterparty(String counterpartyGuid, Boolean includePii)Get Counterparty Retrieves a counterparty.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CounterpartyBankModel>>getCounterpartyWithHttpInfo(String counterpartyGuid, Boolean includePii)reactor.core.publisher.Mono<CounterpartyListBankModel>listCounterparties(BigInteger page, BigInteger perPage, String type, String bankGuid, String customerGuid, String guid, String label)Get counterparties list Retrieves a listing of counterparties.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CounterpartyListBankModel>>listCounterpartiesWithHttpInfo(BigInteger page, BigInteger perPage, String type, String bankGuid, String customerGuid, String guid, String label)voidsetApiClient(ApiClient apiClient)
-
-
-
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
401 - Unauthorized
403 - Forbidden
422 - Unprocessable Content
- 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
401 - Unauthorized
403 - Forbidden
- 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 type, 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
401 - Unauthorized
403 - Forbidden
- Parameters:
page- The page parameterperPage- The perPage parametertype- Comma separated types to list counterparties for.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 type, String bankGuid, String customerGuid, String guid, String label) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-