Package dev.vality.payout.manager
Class PayoutManagementSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.payout.manager.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 payout_params)Создать выплату на определенную сумму и платежный инструментPayoutgetPayout(String payout_id)Получить выплату по идентификаторуvoidrecvCancelPayout()voidrecvConfirmPayout()PayoutrecvCreatePayout()PayoutrecvGetPayout()voidsendCancelPayout(String payout_id, String details)voidsendConfirmPayout(String payout_id)voidsendCreatePayout(PayoutParams payout_params)voidsendGetPayout(String payout_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
-
createPayout
public Payout createPayout(PayoutParams payout_params) throws InsufficientFunds, dev.vality.damsel.base.InvalidRequest, PayoutAlreadyExists, NotFound, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceСоздать выплату на определенную сумму и платежный инструмент- Specified by:
createPayoutin interfacePayoutManagementSrv.Iface- Throws:
InsufficientFundsdev.vality.damsel.base.InvalidRequestPayoutAlreadyExistsNotFoundorg.apache.thrift.TException
-
sendCreatePayout
- Throws:
org.apache.thrift.TException
-
recvCreatePayout
public Payout recvCreatePayout() throws InsufficientFunds, dev.vality.damsel.base.InvalidRequest, PayoutAlreadyExists, NotFound, org.apache.thrift.TException- Throws:
InsufficientFundsdev.vality.damsel.base.InvalidRequestPayoutAlreadyExistsNotFoundorg.apache.thrift.TException
-
getPayout
Description copied from interface:PayoutManagementSrv.IfaceПолучить выплату по идентификатору- Specified by:
getPayoutin interfacePayoutManagementSrv.Iface- Throws:
NotFoundorg.apache.thrift.TException
-
sendGetPayout
- Throws:
org.apache.thrift.TException
-
recvGetPayout
- Throws:
NotFoundorg.apache.thrift.TException
-
confirmPayout
Description copied from interface:PayoutManagementSrv.IfaceПодтвердить выплату.- Specified by:
confirmPayoutin interfacePayoutManagementSrv.Iface- Throws:
NotFoundorg.apache.thrift.TException
-
sendConfirmPayout
- Throws:
org.apache.thrift.TException
-
recvConfirmPayout
- Throws:
NotFoundorg.apache.thrift.TException
-
cancelPayout
public void cancelPayout(String payout_id, String details) throws NotFound, org.apache.thrift.TExceptionDescription copied from interface:PayoutManagementSrv.IfaceОтменить движения по выплате.- Specified by:
cancelPayoutin interfacePayoutManagementSrv.Iface- Throws:
NotFoundorg.apache.thrift.TException
-
sendCancelPayout
- Throws:
org.apache.thrift.TException
-
recvCancelPayout
- Throws:
NotFoundorg.apache.thrift.TException
-