Class AdapterSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.withdrawals.provider_adapter.AdapterSrv.Client
- All Implemented Interfaces:
AdapterSrv.Iface
- Enclosing class:
- AdapterSrv
public static class AdapterSrv.Client
extends org.apache.thrift.TServiceClient
implements AdapterSrv.Iface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
interceptor, iprot_, oprot_, seqid_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuote(GetQuoteParams params, Map<String, String> opts) Запрос к адаптеру на получение котировки.handleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts) Запрос к адаптеру на обработку обратного вызова.processWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts) Запрос к адаптеру на проведение взаимодействия с провайдером в рамках платежной сессии.voidsendGetQuote(GetQuoteParams params, Map<String, String> opts) voidsendHandleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts) voidsendProcessWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts) Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getInterceptor, getOutputProtocol, receiveBase, sendBase, sendBaseOneway, setInterceptor
-
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
-
processWithdrawal
public ProcessResult processWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts) throws org.apache.thrift.TExceptionDescription copied from interface:AdapterSrv.IfaceЗапрос к адаптеру на проведение взаимодействия с провайдером в рамках платежной сессии.- Specified by:
processWithdrawalin interfaceAdapterSrv.Iface- Throws:
org.apache.thrift.TException
-
sendProcessWithdrawal
public void sendProcessWithdrawal(Withdrawal withdrawal, Value state, Map<String, String> opts) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvProcessWithdrawal
- Throws:
org.apache.thrift.TException
-
getQuote
public Quote getQuote(GetQuoteParams params, Map<String, String> opts) throws GetQuoteFailure, org.apache.thrift.TExceptionDescription copied from interface:AdapterSrv.IfaceЗапрос к адаптеру на получение котировки.- Specified by:
getQuotein interfaceAdapterSrv.Iface- Throws:
GetQuoteFailureorg.apache.thrift.TException
-
sendGetQuote
public void sendGetQuote(GetQuoteParams params, Map<String, String> opts) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvGetQuote
- Throws:
GetQuoteFailureorg.apache.thrift.TException
-
handleCallback
public CallbackResult handleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts) throws org.apache.thrift.TExceptionDescription copied from interface:AdapterSrv.IfaceЗапрос к адаптеру на обработку обратного вызова.- Specified by:
handleCallbackin interfaceAdapterSrv.Iface- Throws:
org.apache.thrift.TException
-
sendHandleCallback
public void sendHandleCallback(Callback callback, Withdrawal withdrawal, Value state, Map<String, String> opts) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvHandleCallback
- Throws:
org.apache.thrift.TException
-