Class CheckoutApi

java.lang.Object
travel.wink.sdk.booking.api.CheckoutApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:42:22.978624448+07:00[Asia/Bangkok]") public class CheckoutApi extends Object
  • Constructor Details

    • CheckoutApi

      public CheckoutApi()
    • CheckoutApi

      @Autowired public CheckoutApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • checkout

      public reactor.core.publisher.Mono<CheckoutResponseAuthenticatedEntity> checkout(CheckoutRequestAuthenticatedEntity checkoutRequestAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Prepare reactive Communicates shopping cart to TripPay.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CheckoutResponseAuthenticatedEntity>> checkoutWithHttpInfo(CheckoutRequestAuthenticatedEntity checkoutRequestAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Prepare reactive Communicates shopping cart to TripPay.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec checkoutWithResponseSpec(CheckoutRequestAuthenticatedEntity checkoutRequestAuthenticatedEntity, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Prepare reactive Communicates shopping cart to TripPay.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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