Class ApplicationApi

java.lang.Object
io.trippay.sdk.payment.api.ApplicationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-06T15:20:29.359634909+07:00[Asia/Bangkok]") public class ApplicationApi extends Object
  • Constructor Details

    • ApplicationApi

      public ApplicationApi()
    • ApplicationApi

      @Autowired public ApplicationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createApplication

      public reactor.core.publisher.Mono<CreateApplicationResponse> createApplication(UpsertApplicationRequest upsertApplicationRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Application Create a new application

      201 - Created

      Parameters:
      upsertApplicationRequest - The upsertApplicationRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      CreateApplicationResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreateApplicationResponse>> createApplicationWithHttpInfo(UpsertApplicationRequest upsertApplicationRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • deleteApplication

      public reactor.core.publisher.Mono<RemoveEntryResponse> deleteApplication(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Application Remove a specific application

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • deleteApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> deleteApplicationWithHttpInfo(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadApplication

      public reactor.core.publisher.Mono<Application> loadApplication(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Application Show a specific application

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      Returns:
      Application
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Application>> loadApplicationWithHttpInfo(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • revokeApplication

      public reactor.core.publisher.Mono<RevokeClientIdResponse> revokeApplication(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Revoke Application Credentials Refreshes the clientId and secretKey properties.

      200 - OK

      Parameters:
      id - The id parameter
      winkVersion - The winkVersion parameter
      Returns:
      RevokeClientIdResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • revokeApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RevokeClientIdResponse>> revokeApplicationWithHttpInfo(String id, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showApplicationsByUser

      public reactor.core.publisher.Flux<Application> showApplicationsByUser(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Applications List all applications owned by creating entity

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      Returns:
      List<Application>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showApplicationsByUserWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Application>>> showApplicationsByUserWithHttpInfo(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateApplication

      public reactor.core.publisher.Mono<UpdateApplicationResponse> updateApplication(String id, UpsertApplicationRequest upsertApplicationRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Application Update an existing application

      200 - OK

      Parameters:
      id - The id parameter
      upsertApplicationRequest - The upsertApplicationRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpdateApplicationResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateApplicationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateApplicationResponse>> updateApplicationWithHttpInfo(String id, UpsertApplicationRequest upsertApplicationRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException