com.truelayer.java.payouts.IPayoutsHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelayer-java Show documentation
Show all versions of truelayer-java Show documentation
TrueLayer Java SDK for https://truelayer.com
package com.truelayer.java.payouts;
import com.truelayer.java.http.entities.ApiResponse;
import com.truelayer.java.http.entities.Headers;
import com.truelayer.java.payouts.entities.CreatePayoutRequest;
import com.truelayer.java.payouts.entities.CreatePayoutResponse;
import com.truelayer.java.payouts.entities.Payout;
import java.util.concurrent.CompletableFuture;
/**
* Provides /payouts API integration without the burden of Retrofit's annotation
* and improve both usability and backward compatibility for the implemented endpoints.
*/
public interface IPayoutsHandler {
CompletableFuture> createPayout(CreatePayoutRequest request);
CompletableFuture> createPayout(Headers headers, CreatePayoutRequest request);
CompletableFuture> getPayout(String payoutId);
}