Class PingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") 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(@Nullable 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(@Nullable 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(@Nullable 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(@Nullable 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(@Nullable 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(@Nullable 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