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

com.checkout.accounts.AccountsClient Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.accounts;

import com.checkout.EmptyResponse;
import com.checkout.accounts.payout.schedule.request.UpdateScheduleRequest;
import com.checkout.accounts.payout.schedule.response.GetScheduleResponse;
import com.checkout.accounts.payout.schedule.response.VoidResponse;
import com.checkout.common.Currency;
import com.checkout.common.IdResponse;

import java.util.concurrent.CompletableFuture;

public interface AccountsClient {

    CompletableFuture submitFile(AccountsFileRequest accountsFileRequest);

    CompletableFuture createEntity(OnboardEntityRequest entityRequest);

    CompletableFuture retrievePaymentInstrumentDetails(String entityId, String paymentInstrumentId);

    CompletableFuture getEntity(String entityId);

    CompletableFuture updateEntity(OnboardEntityRequest entityRequest, String entityId);

    /**
     * @deprecated Use {{@link #createPaymentInstrument(String, PaymentInstrumentRequest)}} instead
     */
    @Deprecated
    CompletableFuture createPaymentInstrument(AccountsPaymentInstrument accountsPaymentInstrument, String entityId);

    CompletableFuture createPaymentInstrument(String entityId, PaymentInstrumentRequest paymentInstrumentRequest);

    CompletableFuture updatePaymentInstrumentDetails(String entityId,
                                                                 String instrumentId,
                                                                 UpdatePaymentInstrumentRequest updatePaymentInstrumentRequest);

    CompletableFuture queryPaymentInstruments(String entityId, PaymentInstrumentsQuery query);

    CompletableFuture retrievePayoutSchedule(String entityId);

    CompletableFuture updatePayoutSchedule(String entityId, Currency currency, UpdateScheduleRequest updateScheduleRequest);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy