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
  • 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.TException
      Description copied from interface: AdapterSrv.Iface
      Запрос к адаптеру на проведение взаимодействия с провайдером в рамках платежной сессии.
      Specified by:
      processWithdrawal in interface AdapterSrv.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

      public ProcessResult recvProcessWithdrawal() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • getQuote

      public Quote getQuote​(GetQuoteParams params, Map<String,​String> opts) throws GetQuoteFailure, org.apache.thrift.TException
      Description copied from interface: AdapterSrv.Iface
      Запрос к адаптеру на получение котировки.
      Specified by:
      getQuote in interface AdapterSrv.Iface
      Throws:
      GetQuoteFailure
      org.apache.thrift.TException
    • sendGetQuote

      public void sendGetQuote​(GetQuoteParams params, Map<String,​String> opts) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvGetQuote

      public Quote recvGetQuote() throws GetQuoteFailure, org.apache.thrift.TException
      Throws:
      GetQuoteFailure
      org.apache.thrift.TException
    • handleCallback

      public CallbackResult handleCallback​(Callback callback, Withdrawal withdrawal, Value state, Map<String,​String> opts) throws org.apache.thrift.TException
      Description copied from interface: AdapterSrv.Iface
      Запрос к адаптеру на обработку обратного вызова.
      Specified by:
      handleCallback in interface AdapterSrv.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

      public CallbackResult recvHandleCallback() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException