Class PayoutManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.payout_processing.PayoutManagementSrv.Client
- All Implemented Interfaces:
PayoutManagementSrv.Iface
- Enclosing class:
- PayoutManagementSrv
public static class PayoutManagementSrv.Client extends org.apache.thrift.TServiceClient implements PayoutManagementSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutManagementSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidcancelPayout(String payout_id, String details)Отменить движения по выплате.voidconfirmPayout(String payout_id)Подтвердить выплату.PayoutcreatePayout(PayoutParams params)Создать выплату на определенную сумму и платежный инструментList<String>generatePayouts(GeneratePayoutParams params)Сгенерировать выводы за указанный промежуток времениvoidgenerateReport(Set<String> payout_ids)Сгенерировать отчет по выплатамPayoutget(String payout_id)Получить выплату по идентификаторуList<Event>getEvents(String payout_id, EventRange range)PayoutSearchResponsegetPayoutsInfo(PayoutSearchRequest request)Возвращает список Payout-ов согласно запросу поискаvoidrecvCancelPayout()voidrecvConfirmPayout()PayoutrecvCreatePayout()List<String>recvGeneratePayouts()voidrecvGenerateReport()PayoutrecvGet()List<Event>recvGetEvents()PayoutSearchResponserecvGetPayoutsInfo()voidsendCancelPayout(String payout_id, String details)voidsendConfirmPayout(String payout_id)voidsendCreatePayout(PayoutParams params)voidsendGeneratePayouts(GeneratePayoutParams params)voidsendGenerateReport(Set<String> payout_ids)voidsendGet(String payout_id)voidsendGetEvents(String payout_id, EventRange range)voidsendGetPayoutsInfo(PayoutSearchRequest request)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
-
createPayout
public Payout createPayout(PayoutParams params) throws InvalidPayoutTool, InsufficientFunds, InvalidRequest, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceСоздать выплату на определенную сумму и платежный инструмент- Specified by:
createPayoutin interfacePayoutManagementSrv.Iface- Throws:
InvalidPayoutToolInsufficientFundsInvalidRequestorg.apache.thrift.TException
-
sendCreatePayout
- Throws:
org.apache.thrift.TException
-
recvCreatePayout
public Payout recvCreatePayout() throws InvalidPayoutTool, InsufficientFunds, InvalidRequest, org.apache.thrift.TException- Throws:
InvalidPayoutToolInsufficientFundsInvalidRequestorg.apache.thrift.TException
-
get
Description copied from interface:PayoutManagementSrv.IfaceПолучить выплату по идентификатору- Specified by:
getin interfacePayoutManagementSrv.Iface- Throws:
PayoutNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
PayoutNotFoundorg.apache.thrift.TException
-
getEvents
public List<Event> getEvents(String payout_id, EventRange range) throws PayoutNotFound, EventNotFound, InvalidRequest, org.apache.thrift.TException- Specified by:
getEventsin interfacePayoutManagementSrv.Iface- Throws:
PayoutNotFoundEventNotFoundInvalidRequestorg.apache.thrift.TException
-
sendGetEvents
- Throws:
org.apache.thrift.TException
-
recvGetEvents
public List<Event> recvGetEvents() throws PayoutNotFound, EventNotFound, InvalidRequest, org.apache.thrift.TException- Throws:
PayoutNotFoundEventNotFoundInvalidRequestorg.apache.thrift.TException
-
generatePayouts
public List<String> generatePayouts(GeneratePayoutParams params) throws InvalidRequest, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceСгенерировать выводы за указанный промежуток времени- Specified by:
generatePayoutsin interfacePayoutManagementSrv.Iface- Throws:
InvalidRequestorg.apache.thrift.TException
-
sendGeneratePayouts
- Throws:
org.apache.thrift.TException
-
recvGeneratePayouts
- Throws:
InvalidRequestorg.apache.thrift.TException
-
confirmPayout
Description copied from interface:PayoutManagementSrv.IfaceПодтвердить выплату.- Specified by:
confirmPayoutin interfacePayoutManagementSrv.Iface- Throws:
InvalidRequestorg.apache.thrift.TException
-
sendConfirmPayout
- Throws:
org.apache.thrift.TException
-
recvConfirmPayout
- Throws:
InvalidRequestorg.apache.thrift.TException
-
cancelPayout
public void cancelPayout(String payout_id, String details) throws InvalidRequest, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceОтменить движения по выплате.- Specified by:
cancelPayoutin interfacePayoutManagementSrv.Iface- Throws:
InvalidRequestorg.apache.thrift.TException
-
sendCancelPayout
- Throws:
org.apache.thrift.TException
-
recvCancelPayout
- Throws:
InvalidRequestorg.apache.thrift.TException
-
getPayoutsInfo
public PayoutSearchResponse getPayoutsInfo(PayoutSearchRequest request) throws InvalidRequest, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceВозвращает список Payout-ов согласно запросу поиска- Specified by:
getPayoutsInfoin interfacePayoutManagementSrv.Iface- Throws:
InvalidRequestorg.apache.thrift.TException
-
sendGetPayoutsInfo
- Throws:
org.apache.thrift.TException
-
recvGetPayoutsInfo
public PayoutSearchResponse recvGetPayoutsInfo() throws InvalidRequest, org.apache.thrift.TException- Throws:
InvalidRequestorg.apache.thrift.TException
-
generateReport
public void generateReport(Set<String> payout_ids) throws InvalidRequest, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceСгенерировать отчет по выплатам- Specified by:
generateReportin interfacePayoutManagementSrv.Iface- Throws:
InvalidRequestorg.apache.thrift.TException
-
sendGenerateReport
- Throws:
org.apache.thrift.TException
-
recvGenerateReport
- Throws:
InvalidRequestorg.apache.thrift.TException
-