Class PaymentSetupsClientImpl

    • Method Detail

      • updatePaymentSetup

        public java.util.concurrent.CompletableFuture<PaymentSetupsResponse> updatePaymentSetup​(java.lang.String id,
                                                                                                PaymentSetupsRequest paymentSetupsRequest)
        Updates an existing payment setup.
        Specified by:
        updatePaymentSetup in interface PaymentSetupsClient
        Parameters:
        id - The payment setup ID
        paymentSetupsRequest - The payment setup request
        Returns:
        CompletableFuture containing the payment setup response
      • getPaymentSetup

        public java.util.concurrent.CompletableFuture<PaymentSetupsResponse> getPaymentSetup​(java.lang.String id)
        Retrieves a payment setup by ID.
        Specified by:
        getPaymentSetup in interface PaymentSetupsClient
        Parameters:
        id - The payment setup ID
        Returns:
        CompletableFuture containing the payment setup response
      • confirmPaymentSetup

        public java.util.concurrent.CompletableFuture<PaymentSetupsConfirmResponse> confirmPaymentSetup​(java.lang.String id,
                                                                                                        java.lang.String paymentMethodOptionId)
        Confirms a payment setup.
        Specified by:
        confirmPaymentSetup in interface PaymentSetupsClient
        Parameters:
        id - The payment setup ID
        paymentMethodOptionId - The payment method option ID
        Returns:
        CompletableFuture containing the payment setup confirmation response