Class CompanyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CompanyView>addCompanyUser(String companyIdentifier, AddManagerRequest addManagerRequest) Add Manager Associate an existing payment user with this company.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>>addCompanyUserWithHttpInfo(String companyIdentifier, AddManagerRequest addManagerRequest) reactor.core.publisher.Mono<CompanyView>createCompany(UpsertCompanyRequest upsertCompanyRequest) Create Company Create a new companyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>>createCompanyWithHttpInfo(UpsertCompanyRequest upsertCompanyRequest) reactor.core.publisher.Mono<UniqueResult>isCompanyNameUnique(String name, String identifier, String accept) Verify Company Name Check if company name is uniquereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>>isCompanyNameUniqueWithHttpInfo(String name, String identifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>removeCompany(String companyIdentifier, String accept) Delete Company Delete a company by identifierreactor.core.publisher.Mono<CompanyView>removeCompanyUser(String companyIdentifier, String userIdentifier, String accept) Remove Manager Disassociate user from this company.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>>removeCompanyUserWithHttpInfo(String companyIdentifier, String userIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeCompanyWithHttpInfo(String companyIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<CompanyView>showCompanies(String accept) Show Companies List all companies owned by callerreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CompanyView>>>showCompaniesWithHttpInfo(String accept) reactor.core.publisher.Mono<CompanyView>showCompany(String companyIdentifier, String accept) Show Company Retrieve company by identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>>showCompanyWithHttpInfo(String companyIdentifier, String accept) reactor.core.publisher.Mono<CompanyView>updateCompany(String companyIdentifier, UpsertCompanyRequest upsertCompanyRequest) Update Company Update an existing companyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>>updateCompanyWithHttpInfo(String companyIdentifier, UpsertCompanyRequest upsertCompanyRequest)
-
Constructor Details
-
CompanyApi
public CompanyApi() -
CompanyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addCompanyUser
public reactor.core.publisher.Mono<CompanyView> addCompanyUser(String companyIdentifier, AddManagerRequest addManagerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Add Manager Associate an existing payment user with this company.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraddManagerRequest- The addManagerRequest parameter- Returns:
- CompanyView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
addCompanyUserWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>> addCompanyUserWithHttpInfo(String companyIdentifier, AddManagerRequest addManagerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
createCompany
public reactor.core.publisher.Mono<CompanyView> createCompany(UpsertCompanyRequest upsertCompanyRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Company Create a new company503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
upsertCompanyRequest- The upsertCompanyRequest parameter- Returns:
- CompanyView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createCompanyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>> createCompanyWithHttpInfo(UpsertCompanyRequest upsertCompanyRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
isCompanyNameUnique
public reactor.core.publisher.Mono<UniqueResult> isCompanyNameUnique(String name, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Company Name Check if company name is unique503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
name- The name parameteridentifier- The identifier parameteraccept- The accept parameter- Returns:
- UniqueResult
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isCompanyNameUniqueWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>> isCompanyNameUniqueWithHttpInfo(String name, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeCompany
public reactor.core.publisher.Mono<RemoveEntryResponse> removeCompany(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Company Delete a company by identifier503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeCompanyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeCompanyWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeCompanyUser
public reactor.core.publisher.Mono<CompanyView> removeCompanyUser(String companyIdentifier, String userIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Remove Manager Disassociate user from this company.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteruserIdentifier- The userIdentifier parameteraccept- The accept parameter- Returns:
- CompanyView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeCompanyUserWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>> removeCompanyUserWithHttpInfo(String companyIdentifier, String userIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showCompanies
public reactor.core.publisher.Flux<CompanyView> showCompanies(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Companies List all companies owned by caller503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
accept- The accept parameter- Returns:
- List<CompanyView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCompaniesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CompanyView>>> showCompaniesWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showCompany
public reactor.core.publisher.Mono<CompanyView> showCompany(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Company Retrieve company by identifier503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept parameter- Returns:
- CompanyView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCompanyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>> showCompanyWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateCompany
public reactor.core.publisher.Mono<CompanyView> updateCompany(String companyIdentifier, UpsertCompanyRequest upsertCompanyRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Company Update an existing company503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameterupsertCompanyRequest- The upsertCompanyRequest parameter- Returns:
- CompanyView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateCompanyWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyView>> updateCompanyWithHttpInfo(String companyIdentifier, UpsertCompanyRequest upsertCompanyRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-