Class StripeApi

java.lang.Object
travel.wink.sdk.payment.acquiring.api.StripeApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-01T17:01:32.974501+07:00[Asia/Bangkok]") public class StripeApi extends Object
  • Constructor Details

    • StripeApi

      public StripeApi()
    • StripeApi

      @Autowired public StripeApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPaymentIntent

      public reactor.core.publisher.Mono<CreateNewCustomerStripePaymentIntentResponse> createPaymentIntent(CreateNewCustomerStripePaymentIntentRequest createNewCustomerStripePaymentIntentRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreateNewCustomerStripePaymentIntentResponse>> createPaymentIntentWithHttpInfo(CreateNewCustomerStripePaymentIntentRequest createNewCustomerStripePaymentIntentRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • savePayingCustomer

      public reactor.core.publisher.Mono<BookingContractResponse> savePayingCustomer(CreateStripeSaleRequest createStripeSaleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Complete Stripe Capture Upon a successful card capture, we store customer details for later use.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractResponse>> savePayingCustomerWithHttpInfo(CreateStripeSaleRequest createStripeSaleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException