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

com.checkout.instruments.InstrumentsClient Maven / Gradle / Ivy

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

import com.checkout.EmptyResponse;
import com.checkout.common.CountryCode;
import com.checkout.common.Currency;
import com.checkout.instruments.create.CreateInstrumentRequest;
import com.checkout.instruments.create.CreateInstrumentResponse;
import com.checkout.instruments.get.BankAccountFieldQuery;
import com.checkout.instruments.get.BankAccountFieldResponse;
import com.checkout.instruments.get.GetInstrumentResponse;
import com.checkout.instruments.update.UpdateInstrumentRequest;
import com.checkout.instruments.update.UpdateInstrumentResponse;

import java.util.concurrent.CompletableFuture;

public interface InstrumentsClient {

     CompletableFuture create(CreateInstrumentRequest createInstrumentRequest);

    CompletableFuture get(String instrumentId);

     CompletableFuture update(String instrumentId, UpdateInstrumentRequest updateInstrumentRequest);

    CompletableFuture delete(String instrumentId);

    CompletableFuture getBankAccountFieldFormatting(CountryCode country, Currency currency, BankAccountFieldQuery query);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy