All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.truelayer.java.payouts.IPayoutsHandler Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy