com.checkout.payments.previous.PaymentsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.payments.previous;
import com.checkout.ItemsResponse;
import com.checkout.payments.CaptureRequest;
import com.checkout.payments.CaptureResponse;
import com.checkout.payments.RefundRequest;
import com.checkout.payments.RefundResponse;
import com.checkout.payments.VoidRequest;
import com.checkout.payments.VoidResponse;
import com.checkout.payments.previous.request.PaymentRequest;
import com.checkout.payments.previous.request.PayoutRequest;
import com.checkout.payments.previous.response.GetPaymentResponse;
import com.checkout.payments.previous.response.PaymentResponse;
import com.checkout.payments.PaymentsQueryFilter;
import com.checkout.payments.previous.response.PaymentsQueryResponse;
import java.util.concurrent.CompletableFuture;
public interface PaymentsClient {
CompletableFuture requestPayment(PaymentRequest paymentRequest);
CompletableFuture requestPayment(PaymentRequest paymentRequest, String idempotencyKey);
CompletableFuture requestPayout(PayoutRequest payoutRequest);
CompletableFuture requestPayout(PayoutRequest payoutRequest, String idempotencyKey);
CompletableFuture getPaymentsList(PaymentsQueryFilter queryFilter);
CompletableFuture getPayment(String paymentId);
CompletableFuture> getPaymentActions(String paymentId);
CompletableFuture capturePayment(String paymentId);
CompletableFuture capturePayment(String paymentId, String idempotencyKey);
CompletableFuture capturePayment(String paymentId, CaptureRequest captureRequest);
CompletableFuture capturePayment(String paymentId, CaptureRequest captureRequest, String idempotencyKey);
CompletableFuture refundPayment(String paymentId);
CompletableFuture refundPayment(String paymentId, String idempotencyKey);
CompletableFuture refundPayment(String paymentId, RefundRequest refundRequest);
CompletableFuture refundPayment(String paymentId, RefundRequest refundRequest, String idempotencyKey);
CompletableFuture voidPayment(String paymentId);
CompletableFuture voidPayment(String paymentId, String idempotencyKey);
CompletableFuture voidPayment(String paymentId, VoidRequest voidRequest);
CompletableFuture voidPayment(String paymentId, VoidRequest voidRequest, String idempotencyKey);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy