Package dev.vality.fistful.deposit
Interface ManagementSrv.Iface
- All Known Implementing Classes:
ManagementSrv.Client
- Enclosing class:
- ManagementSrv
public static interface ManagementSrv.Iface
-
Method Summary
Modifier and Type Method Description DepositStatecreate(DepositParams params, Map<String,Value> context)AdjustmentStatecreateAdjustment(String id, AdjustmentParams params)RevertStatecreateRevert(String id, RevertParams params)AdjustmentStatecreateRevertAdjustment(String id, String revert_id, AdjustmentParams params)DepositStateget(String id, EventRange range)Map<String,Value>getContext(String id)List<Event>getEvents(String id, EventRange range)
-
Method Details
-
create
DepositState create(DepositParams params, Map<String,Value> context) throws WalletNotFound, SourceNotFound, SourceUnauthorized, InvalidOperationAmount, ForbiddenOperationCurrency, InconsistentDepositCurrency, org.apache.thrift.TException- Throws:
WalletNotFoundSourceNotFoundSourceUnauthorizedInvalidOperationAmountForbiddenOperationCurrencyInconsistentDepositCurrencyorg.apache.thrift.TException
-
get
- Throws:
DepositNotFoundorg.apache.thrift.TException
-
getContext
- Throws:
DepositNotFoundorg.apache.thrift.TException
-
getEvents
List<Event> getEvents(String id, EventRange range) throws DepositNotFound, org.apache.thrift.TException- Throws:
DepositNotFoundorg.apache.thrift.TException
-
createAdjustment
AdjustmentState createAdjustment(String id, AdjustmentParams params) throws DepositNotFound, InvalidDepositStatus, ForbiddenStatusChange, AlreadyHasStatus, AnotherAdjustmentInProgress, org.apache.thrift.TException- Throws:
DepositNotFoundInvalidDepositStatusForbiddenStatusChangeAlreadyHasStatusAnotherAdjustmentInProgressorg.apache.thrift.TException
-
createRevert
RevertState createRevert(String id, RevertParams params) throws DepositNotFound, InvalidDepositStatus, InconsistentRevertCurrency, InsufficientDepositAmount, InvalidOperationAmount, org.apache.thrift.TException- Throws:
DepositNotFoundInvalidDepositStatusInconsistentRevertCurrencyInsufficientDepositAmountInvalidOperationAmountorg.apache.thrift.TException
-
createRevertAdjustment
AdjustmentState createRevertAdjustment(String id, String revert_id, AdjustmentParams params) throws DepositNotFound, RevertNotFound, InvalidRevertStatus, ForbiddenRevertStatusChange, RevertAlreadyHasStatus, AnotherAdjustmentInProgress, org.apache.thrift.TException- Throws:
DepositNotFoundRevertNotFoundInvalidRevertStatusForbiddenRevertStatusChangeRevertAlreadyHasStatusAnotherAdjustmentInProgressorg.apache.thrift.TException
-