Package dev.vality.fistful.withdrawal
Interface ManagementSrv.Iface
- All Known Implementing Classes:
ManagementSrv.Client
- Enclosing class:
- ManagementSrv
public static interface ManagementSrv.Iface
-
Method Summary
Modifier and Type Method Description WithdrawalStatecreate(WithdrawalParams params, Map<String,Value> context)AdjustmentStatecreateAdjustment(String id, AdjustmentParams params)WithdrawalStateget(String id, EventRange range)Map<String,Value>getContext(String id)List<Event>getEvents(String id, EventRange range)QuotegetQuote(QuoteParams params)
-
Method Details
-
getQuote
Quote getQuote(QuoteParams params) throws WalletNotFound, DestinationNotFound, DestinationUnauthorized, ForbiddenOperationCurrency, ForbiddenOperationAmount, InvalidOperationAmount, InconsistentWithdrawalCurrency, IdentityProvidersMismatch, ForbiddenWithdrawalMethod, org.apache.thrift.TException -
create
WithdrawalState create(WithdrawalParams params, Map<String,Value> context) throws WalletNotFound, DestinationNotFound, DestinationUnauthorized, ForbiddenOperationCurrency, ForbiddenOperationAmount, InvalidOperationAmount, InconsistentWithdrawalCurrency, NoDestinationResourceInfo, IdentityProvidersMismatch, WalletInaccessible, ForbiddenWithdrawalMethod, org.apache.thrift.TException -
get
WithdrawalState get(String id, EventRange range) throws WithdrawalNotFound, org.apache.thrift.TException- Throws:
WithdrawalNotFoundorg.apache.thrift.TException
-
getContext
- Throws:
WithdrawalNotFoundorg.apache.thrift.TException
-
getEvents
List<Event> getEvents(String id, EventRange range) throws WithdrawalNotFound, org.apache.thrift.TException- Throws:
WithdrawalNotFoundorg.apache.thrift.TException
-
createAdjustment
AdjustmentState createAdjustment(String id, AdjustmentParams params) throws WithdrawalNotFound, InvalidWithdrawalStatus, ForbiddenStatusChange, AlreadyHasStatus, AnotherAdjustmentInProgress, org.apache.thrift.TException- Throws:
WithdrawalNotFoundInvalidWithdrawalStatusForbiddenStatusChangeAlreadyHasStatusAnotherAdjustmentInProgressorg.apache.thrift.TException
-