Class PingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-23T12:38:48.722044943+07:00[Asia/Bangkok]") public class PingApi extends Object
  • Constructor Details

    • PingApi

      public PingApi()
    • PingApi

      @Autowired public PingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • ping

      public reactor.core.publisher.Mono<String> ping(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Test the connection.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>> pingWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Test the connection.

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • pingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec pingWithResponseSpec(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Test the connection.

      200 - OK

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

      public reactor.core.publisher.Mono<String> pingError(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Error Test the connection by sending an error message in return.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>> pingErrorWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Error Test the connection by sending an error message in return.

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • pingErrorWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec pingErrorWithResponseSpec(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Hello World Error Test the connection by sending an error message in return.

      200 - OK

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