Package dev.vality.fistful.p2p.template
Interface ManagementSrv.Iface
- All Known Implementing Classes:
ManagementSrv.Client
- Enclosing class:
- ManagementSrv
public static interface ManagementSrv.Iface
-
Method Summary
Modifier and Type Method Description P2PTemplateStatecreate(P2PTemplateParams params, Map<String,Value> context)P2PTransferStatecreateTransfer(String id, P2PTemplateTransferParams params, Map<String,Value> context)P2PTemplateStateget(String id, EventRange range)Map<String,Value>getContext(String id)QuotegetQuote(String id, P2PTemplateQuoteParams params)voidsetBlocking(String id, Blocking value)
-
Method Details
-
create
P2PTemplateState create(P2PTemplateParams params, Map<String,Value> context) throws IdentityNotFound, CurrencyNotFound, PartyInaccessible, InvalidOperationAmount, org.apache.thrift.TException- Throws:
IdentityNotFoundCurrencyNotFoundPartyInaccessibleInvalidOperationAmountorg.apache.thrift.TException
-
get
P2PTemplateState get(String id, EventRange range) throws P2PTemplateNotFound, org.apache.thrift.TException- Throws:
P2PTemplateNotFoundorg.apache.thrift.TException
-
getContext
- Throws:
P2PTemplateNotFoundorg.apache.thrift.TException
-
setBlocking
void setBlocking(String id, Blocking value) throws P2PTemplateNotFound, org.apache.thrift.TException- Throws:
P2PTemplateNotFoundorg.apache.thrift.TException
-
getQuote
Quote getQuote(String id, P2PTemplateQuoteParams params) throws P2PTemplateNotFound, IdentityNotFound, ForbiddenOperationCurrency, ForbiddenOperationAmount, OperationNotPermitted, NoResourceInfo, org.apache.thrift.TException- Throws:
P2PTemplateNotFoundIdentityNotFoundForbiddenOperationCurrencyForbiddenOperationAmountOperationNotPermittedNoResourceInfoorg.apache.thrift.TException
-
createTransfer
P2PTransferState createTransfer(String id, P2PTemplateTransferParams params, Map<String,Value> context) throws P2PTemplateNotFound, IdentityNotFound, ForbiddenOperationCurrency, ForbiddenOperationAmount, OperationNotPermitted, NoResourceInfo, org.apache.thrift.TException- Throws:
P2PTemplateNotFoundIdentityNotFoundForbiddenOperationCurrencyForbiddenOperationAmountOperationNotPermittedNoResourceInfoorg.apache.thrift.TException
-