Package org.stellar.anchor.sep24
Class Sep24Service
- java.lang.Object
-
- org.stellar.anchor.sep24.Sep24Service
-
public class Sep24Service extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Sep24Service(AppConfig appConfig, Sep24Config sep24Config, AssetService assetService, JwtService jwtService, Sep24TransactionStore txnStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InteractiveTransactionResponsedeposit(java.lang.String fullRequestUrl, JwtToken token, java.util.Map<java.lang.String,java.lang.String> depositRequest)GetTransactionResponsefindTransaction(JwtToken token, GetTransactionRequest txReq)GetTransactionsResponsefindTransactions(JwtToken token, GetTransactionsRequest txReq)InfoResponsegetInfo()InteractiveTransactionResponsewithdraw(java.lang.String fullRequestUrl, JwtToken token, java.util.Map<java.lang.String,java.lang.String> withdrawRequest)
-
-
-
Constructor Detail
-
Sep24Service
public Sep24Service(AppConfig appConfig, Sep24Config sep24Config, AssetService assetService, JwtService jwtService, Sep24TransactionStore txnStore)
-
-
Method Detail
-
withdraw
public InteractiveTransactionResponse withdraw(java.lang.String fullRequestUrl, JwtToken token, java.util.Map<java.lang.String,java.lang.String> withdrawRequest) throws SepException, java.net.MalformedURLException, java.net.URISyntaxException
- Throws:
SepExceptionjava.net.MalformedURLExceptionjava.net.URISyntaxException
-
deposit
public InteractiveTransactionResponse deposit(java.lang.String fullRequestUrl, JwtToken token, java.util.Map<java.lang.String,java.lang.String> depositRequest) throws SepException, java.net.MalformedURLException, java.net.URISyntaxException
- Throws:
SepExceptionjava.net.MalformedURLExceptionjava.net.URISyntaxException
-
findTransactions
public GetTransactionsResponse findTransactions(JwtToken token, GetTransactionsRequest txReq) throws SepException, java.net.MalformedURLException, java.net.URISyntaxException
- Throws:
SepExceptionjava.net.MalformedURLExceptionjava.net.URISyntaxException
-
findTransaction
public GetTransactionResponse findTransaction(JwtToken token, GetTransactionRequest txReq) throws SepException, java.io.IOException, java.net.URISyntaxException
- Throws:
SepExceptionjava.io.IOExceptionjava.net.URISyntaxException
-
getInfo
public InfoResponse getInfo()
-
-