Class StripeApi
java.lang.Object
travel.wink.sdk.payment.acquiring.api.StripeApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:37:53.880795+07:00[Asia/Bangkok]")
public class StripeApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CreateNewCustomerStripePaymentIntentResponse>createPaymentIntent(CreateNewCustomerStripePaymentIntentRequest createNewCustomerStripePaymentIntentRequest) Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreateNewCustomerStripePaymentIntentResponse>>createPaymentIntentWithHttpInfo(CreateNewCustomerStripePaymentIntentRequest createNewCustomerStripePaymentIntentRequest) reactor.core.publisher.Mono<BookingContractResponse>savePayingCustomer(CreateStripeSaleRequest createStripeSaleRequest) Complete Stripe Capture Upon a successful card capture, we store customer details for later use.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractResponse>>savePayingCustomerWithHttpInfo(CreateStripeSaleRequest createStripeSaleRequest) voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
StripeApi
public StripeApi() -
StripeApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
-