Class AcquiringApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-24T07:24:28.877872362+07:00[Asia/Bangkok]") public class AcquiringApi extends Object
  • Constructor Details

    • AcquiringApi

      public AcquiringApi()
    • AcquiringApi

      @Autowired public AcquiringApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 parameter
      winkVersion - 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 parameter
      winkVersion - 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 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