Class PingApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T09:25:43.445028683+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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException