travel.wink.wise.partner.transfer.client.WiseTransferClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wise-java-sdk Show documentation
Show all versions of wise-java-sdk Show documentation
Spring Boot implementation to TransferWise
The newest version!
package travel.wink.wise.partner.transfer.client;
import travel.wink.wise.partner.credentials.api.WiseUserTokens;
import reactor.core.publisher.Mono;
import travel.wink.wise.partner.transfer.api.TransferRequest;
import travel.wink.wise.partner.transfer.api.TransferWiseTransfer;
/**
* The interface Wise transfer client.
*/
public interface WiseTransferClient {
/**
* Create transfer mono.
*
* @param twUserTokens the tw user tokens
* @param transferRequest the transfer request
* @return the mono
*/
Mono createTransfer(WiseUserTokens twUserTokens, TransferRequest transferRequest);
/**
* Requirements mono.
*
* @param twUserTokens the tw user tokens
* @param transferRequest the transfer request
* @return the mono
*/
Mono requirements(WiseUserTokens twUserTokens, TransferRequest transferRequest);
}