Package io.trippay.sdk.payment.api
Class AcquiringApi
java.lang.Object
io.trippay.sdk.payment.api.AcquiringApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:40:48.657238057+07:00[Asia/Bangkok]")
public class AcquiringApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BookingContractResponse>captureSale(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) Complete Stripe Capture Upon a successful card capture, we store customer details for later use.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractResponse>>captureSaleWithHttpInfo(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) Complete Stripe Capture Upon a successful card capture, we store customer details for later use.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccaptureSaleWithResponseSpec(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) Complete Stripe Capture Upon a successful card capture, we store customer details for later use.reactor.core.publisher.Mono<CreatePaymentIntentResponse>createPaymentIntent(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CreatePaymentIntentResponse>>createPaymentIntentWithHttpInfo(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreatePaymentIntentWithResponseSpec(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<CustomerPaymentMethodsResponse>showCustomerPaymentMethods(String acquirerId, String winkVersion) List Payment Methods List past payment methods by an existing customer record.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CustomerPaymentMethodsResponse>>showCustomerPaymentMethodsWithHttpInfo(String acquirerId, String winkVersion) List Payment Methods List past payment methods by an existing customer record.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowCustomerPaymentMethodsWithResponseSpec(String acquirerId, String winkVersion) List Payment Methods List past payment methods by an existing customer record.
-
Constructor Details
-
AcquiringApi
public AcquiringApi() -
AcquiringApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
captureSale
public reactor.core.publisher.Mono<BookingContractResponse> captureSale(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Complete Stripe Capture Upon a successful card capture, we store customer details for later use.201 - Created
- Parameters:
createStripeSaleRequest- The createStripeSaleRequest parameterwinkVersion- The winkVersion parameter- Returns:
- BookingContractResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
captureSaleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BookingContractResponse>> captureSaleWithHttpInfo(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Complete Stripe Capture Upon a successful card capture, we store customer details for later use.201 - Created
- Parameters:
createStripeSaleRequest- The createStripeSaleRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<BookingContractResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
captureSaleWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec captureSaleWithResponseSpec(CreateStripeSaleRequest createStripeSaleRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Complete Stripe Capture Upon a successful card capture, we store customer details for later use.201 - Created
- Parameters:
createStripeSaleRequest- The createStripeSaleRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPaymentIntent
public reactor.core.publisher.Mono<CreatePaymentIntentResponse> createPaymentIntent(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.201 - Created
- Parameters:
createPaymentIntentRequest- The createPaymentIntentRequest parameterwinkVersion- The winkVersion parameter- Returns:
- CreatePaymentIntentResponse
- 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<CreatePaymentIntentResponse>> createPaymentIntentWithHttpInfo(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.201 - Created
- Parameters:
createPaymentIntentRequest- The createPaymentIntentRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CreatePaymentIntentResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPaymentIntentWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPaymentIntentWithResponseSpec(CreatePaymentIntentRequest createPaymentIntentRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Stripe Payment Intent Creates a Stripe PaymentIntent and creates a new customer for that intent.201 - Created
- Parameters:
createPaymentIntentRequest- The createPaymentIntentRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCustomerPaymentMethods
public reactor.core.publisher.Mono<CustomerPaymentMethodsResponse> showCustomerPaymentMethods(String acquirerId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List Payment Methods List past payment methods by an existing customer record.200 - OK
- Parameters:
acquirerId- The acquirerId parameterwinkVersion- The winkVersion parameter- Returns:
- CustomerPaymentMethodsResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCustomerPaymentMethodsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CustomerPaymentMethodsResponse>> showCustomerPaymentMethodsWithHttpInfo(String acquirerId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List Payment Methods List past payment methods by an existing customer record.200 - OK
- Parameters:
acquirerId- The acquirerId parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<CustomerPaymentMethodsResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showCustomerPaymentMethodsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showCustomerPaymentMethodsWithResponseSpec(String acquirerId, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List Payment Methods List past payment methods by an existing customer record.200 - OK
- Parameters:
acquirerId- The acquirerId parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-