Package dev.vality.fistful.w2w_transfer
Class ManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.fistful.w2w_transfer.ManagementSrv.Client
- All Implemented Interfaces:
ManagementSrv.Iface
- Enclosing class:
- ManagementSrv
public static class ManagementSrv.Client extends org.apache.thrift.TServiceClient implements ManagementSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description W2WTransferStatecreate(W2WTransferParams params, Map<String,Value> context)AdjustmentStatecreateAdjustment(String id, AdjustmentParams params)W2WTransferStateget(String id, EventRange range)Map<String,Value>getContext(String id)W2WTransferStaterecvCreate()AdjustmentStaterecvCreateAdjustment()W2WTransferStaterecvGet()Map<String,Value>recvGetContext()voidsendCreate(W2WTransferParams params, Map<String,Value> context)voidsendCreateAdjustment(String id, AdjustmentParams params)voidsendGet(String id, EventRange range)voidsendGetContext(String id)Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
create
public W2WTransferState create(W2WTransferParams params, Map<String,Value> context) throws WalletNotFound, InvalidOperationAmount, ForbiddenOperationCurrency, InconsistentW2WTransferCurrency, WalletInaccessible, org.apache.thrift.TException- Specified by:
createin interfaceManagementSrv.Iface- Throws:
WalletNotFoundInvalidOperationAmountForbiddenOperationCurrencyInconsistentW2WTransferCurrencyWalletInaccessibleorg.apache.thrift.TException
-
sendCreate
public void sendCreate(W2WTransferParams params, Map<String,Value> context) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreate
public W2WTransferState recvCreate() throws WalletNotFound, InvalidOperationAmount, ForbiddenOperationCurrency, InconsistentW2WTransferCurrency, WalletInaccessible, org.apache.thrift.TException- Throws:
WalletNotFoundInvalidOperationAmountForbiddenOperationCurrencyInconsistentW2WTransferCurrencyWalletInaccessibleorg.apache.thrift.TException
-
get
public W2WTransferState get(String id, EventRange range) throws W2WNotFound, org.apache.thrift.TException- Specified by:
getin interfaceManagementSrv.Iface- Throws:
W2WNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
W2WNotFoundorg.apache.thrift.TException
-
getContext
- Specified by:
getContextin interfaceManagementSrv.Iface- Throws:
W2WNotFoundorg.apache.thrift.TException
-
sendGetContext
- Throws:
org.apache.thrift.TException
-
recvGetContext
- Throws:
W2WNotFoundorg.apache.thrift.TException
-
createAdjustment
public AdjustmentState createAdjustment(String id, AdjustmentParams params) throws W2WNotFound, InvalidW2WTransferStatus, ForbiddenStatusChange, AlreadyHasStatus, AnotherAdjustmentInProgress, org.apache.thrift.TException- Specified by:
createAdjustmentin interfaceManagementSrv.Iface- Throws:
W2WNotFoundInvalidW2WTransferStatusForbiddenStatusChangeAlreadyHasStatusAnotherAdjustmentInProgressorg.apache.thrift.TException
-
sendCreateAdjustment
public void sendCreateAdjustment(String id, AdjustmentParams params) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreateAdjustment
public AdjustmentState recvCreateAdjustment() throws W2WNotFound, InvalidW2WTransferStatus, ForbiddenStatusChange, AlreadyHasStatus, AnotherAdjustmentInProgress, org.apache.thrift.TException- Throws:
W2WNotFoundInvalidW2WTransferStatusForbiddenStatusChangeAlreadyHasStatusAnotherAdjustmentInProgressorg.apache.thrift.TException
-