Class InvoicingSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.payment_processing.InvoicingSrv.Client
- All Implemented Interfaces:
InvoicingSrv.Iface
- Enclosing class:
- InvoicingSrv
public static class InvoicingSrv.Client
extends org.apache.thrift.TServiceClient
implements InvoicingSrv.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 TypeMethodDescriptionvoidacceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params) Принять чарджбэкvoidcancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params) Отмена чарджбэка.voidcancelPayment(String id, String payment_id, String reason) voidcancelPaymentAdjustment(String id, String payment_id, String adjustment_id) voidcapturePayment(String id, String payment_id, InvoicePaymentCaptureParams params) voidcapturePaymentAdjustment(String id, String payment_id, String adjustment_id) voidcapturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params) computeTerms(String id, PartyRevisionParam party_revision_param) create(InvoiceParams params) createChargeback(String id, String payment_id, InvoicePaymentChargebackParams params) Создать чарджбэкcreateManualRefund(String id, String payment_id, InvoicePaymentRefundParams params) Сделать ручной возврат.createPaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params) Создать поправку к платежу.explainRoute(String invoice_id, String payment_id) voidget(String id, EventRange range) getEvents(String id, EventRange range) getPayment(String id, String payment_id) getPaymentAdjustment(String id, String payment_id, String adjustment_id) getPaymentChargeback(String id, String payment_id, String chargeback_id) Найти чарджбэкgetPaymentRefund(String id, String payment_id, String refund_id) getPaymentRoutesLimitValues(String id, String payment_id) voidvoidvoidvoidvoidvoidvoidvoidrecvGet()voidvoidvoidvoidvoidrefundPayment(String id, String payment_id, InvoicePaymentRefundParams params) Сделать возврат платежа.registerPayment(String id, RegisterInvoicePaymentParams params) voidrejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params) Отклонить чарджбэкvoidreopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params) Открыть чарджбэк заново.voidrepair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params) voidrepairWithScenario(String id, InvoiceRepairScenario Scenario) voidvoidsendAcceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params) voidsendCancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params) voidsendCancelPayment(String id, String payment_id, String reason) voidsendCancelPaymentAdjustment(String id, String payment_id, String adjustment_id) voidsendCapturePayment(String id, String payment_id, InvoicePaymentCaptureParams params) voidsendCapturePaymentAdjustment(String id, String payment_id, String adjustment_id) voidsendCapturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params) voidsendComputeTerms(String id, PartyRevisionParam party_revision_param) voidsendCreate(InvoiceParams params) voidsendCreateChargeback(String id, String payment_id, InvoicePaymentChargebackParams params) voidsendCreateManualRefund(String id, String payment_id, InvoicePaymentRefundParams params) voidsendCreatePaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params) voidvoidsendExplainRoute(String invoice_id, String payment_id) voidsendFulfill(String id, String reason) voidsendGet(String id, EventRange range) voidsendGetEvents(String id, EventRange range) voidsendGetPayment(String id, String payment_id) voidsendGetPaymentAdjustment(String id, String payment_id, String adjustment_id) voidsendGetPaymentChargeback(String id, String payment_id, String chargeback_id) voidsendGetPaymentRefund(String id, String payment_id, String refund_id) voidsendGetPaymentRoutesLimitValues(String id, String payment_id) voidsendRefundPayment(String id, String payment_id, InvoicePaymentRefundParams params) voidsendRegisterPayment(String id, RegisterInvoicePaymentParams params) voidsendRejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params) voidsendReopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params) voidsendRepair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params) voidsendRepairWithScenario(String id, InvoiceRepairScenario Scenario) voidsendRescind(String id, String reason) voidsendStartPayment(String id, InvoicePaymentParams params) startPayment(String id, InvoicePaymentParams params) 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
-
create
public Invoice create(InvoiceParams params) throws InvalidRequest, PartyNotFound, ShopNotFound, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoiceTermsViolated, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException - Specified by:
createin interfaceInvoicingSrv.Iface- Throws:
InvalidRequestPartyNotFoundShopNotFoundInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvoiceTermsViolatedAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionorg.apache.thrift.TException
-
sendCreate
- Throws:
org.apache.thrift.TException
-
recvCreate
public Invoice recvCreate() throws InvalidRequest, PartyNotFound, ShopNotFound, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoiceTermsViolated, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException -
createWithTemplate
public Invoice createWithTemplate(InvoiceWithTemplateParams params) throws InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvoiceTermsViolated, org.apache.thrift.TException - Specified by:
createWithTemplatein interfaceInvoicingSrv.Iface- Throws:
InvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvoiceTemplateNotFoundInvoiceTemplateRemovedInvoiceTermsViolatedorg.apache.thrift.TException
-
sendCreateWithTemplate
public void sendCreateWithTemplate(InvoiceWithTemplateParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCreateWithTemplate
public Invoice recvCreateWithTemplate() throws InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoiceTemplateNotFound, InvoiceTemplateRemoved, InvoiceTermsViolated, org.apache.thrift.TException- Throws:
InvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvoiceTemplateNotFoundInvoiceTemplateRemovedInvoiceTermsViolatedorg.apache.thrift.TException
-
get
public Invoice get(String id, EventRange range) throws InvoiceNotFound, org.apache.thrift.TException - Specified by:
getin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
InvoiceNotFoundorg.apache.thrift.TException
-
getEvents
public List<Event> getEvents(String id, EventRange range) throws InvoiceNotFound, EventNotFound, InvalidRequest, org.apache.thrift.TException - Specified by:
getEventsin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundEventNotFoundInvalidRequestorg.apache.thrift.TException
-
sendGetEvents
- Throws:
org.apache.thrift.TException
-
recvGetEvents
public List<Event> recvGetEvents() throws InvoiceNotFound, EventNotFound, InvalidRequest, org.apache.thrift.TException- Throws:
InvoiceNotFoundEventNotFoundInvalidRequestorg.apache.thrift.TException
-
explainRoute
public InvoicePaymentExplanation explainRoute(String invoice_id, String payment_id) throws InvoiceNotFound, InvoicePaymentNotFound, RouteNotChosen, org.apache.thrift.TException - Specified by:
explainRoutein interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundRouteNotChosenorg.apache.thrift.TException
-
sendExplainRoute
public void sendExplainRoute(String invoice_id, String payment_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvExplainRoute
public InvoicePaymentExplanation recvExplainRoute() throws InvoiceNotFound, InvoicePaymentNotFound, RouteNotChosen, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundRouteNotChosenorg.apache.thrift.TException
-
computeTerms
public TermSet computeTerms(String id, PartyRevisionParam party_revision_param) throws InvoiceNotFound, org.apache.thrift.TException - Specified by:
computeTermsin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundorg.apache.thrift.TException
-
sendComputeTerms
public void sendComputeTerms(String id, PartyRevisionParam party_revision_param) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvComputeTerms
- Throws:
InvoiceNotFoundorg.apache.thrift.TException
-
startPayment
public InvoicePayment startPayment(String id, InvoicePaymentParams params) throws InvoiceNotFound, InvalidInvoiceStatus, InvoicePaymentPending, InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRecurrentParentPayment, OperationNotPermitted, org.apache.thrift.TException - Specified by:
startPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoicePaymentPendingInvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRecurrentParentPaymentOperationNotPermittedorg.apache.thrift.TException
-
sendStartPayment
public void sendStartPayment(String id, InvoicePaymentParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvStartPayment
public InvoicePayment recvStartPayment() throws InvoiceNotFound, InvalidInvoiceStatus, InvoicePaymentPending, InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRecurrentParentPayment, OperationNotPermitted, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoicePaymentPendingInvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRecurrentParentPaymentOperationNotPermittedorg.apache.thrift.TException
-
registerPayment
public InvoicePayment registerPayment(String id, RegisterInvoicePaymentParams params) throws InvoiceNotFound, InvalidInvoiceStatus, InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRecurrentParentPayment, org.apache.thrift.TException - Specified by:
registerPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRecurrentParentPaymentorg.apache.thrift.TException
-
sendRegisterPayment
public void sendRegisterPayment(String id, RegisterInvoicePaymentParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvRegisterPayment
public InvoicePayment recvRegisterPayment() throws InvoiceNotFound, InvalidInvoiceStatus, InvalidRequest, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRecurrentParentPayment, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRecurrentParentPaymentorg.apache.thrift.TException
-
getPayment
public InvoicePayment getPayment(String id, String payment_id) throws InvoiceNotFound, InvoicePaymentNotFound, org.apache.thrift.TException - Specified by:
getPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundorg.apache.thrift.TException
-
sendGetPayment
- Throws:
org.apache.thrift.TException
-
recvGetPayment
public InvoicePayment recvGetPayment() throws InvoiceNotFound, InvoicePaymentNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundorg.apache.thrift.TException
-
cancelPayment
public void cancelPayment(String id, String payment_id, String reason) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException - Specified by:
cancelPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
sendCancelPayment
public void sendCancelPayment(String id, String payment_id, String reason) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCancelPayment
public void recvCancelPayment() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusorg.apache.thrift.TException
-
capturePayment
public void capturePayment(String id, String payment_id, InvoicePaymentCaptureParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, InconsistentCaptureCurrency, AmountExceededCaptureBalance, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException - Specified by:
capturePaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusInconsistentCaptureCurrencyAmountExceededCaptureBalanceAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionorg.apache.thrift.TException
-
sendCapturePayment
public void sendCapturePayment(String id, String payment_id, InvoicePaymentCaptureParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCapturePayment
public void recvCapturePayment() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, InconsistentCaptureCurrency, AmountExceededCaptureBalance, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusInconsistentCaptureCurrencyAmountExceededCaptureBalanceAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionorg.apache.thrift.TException
-
capturePaymentNew
public void capturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, InconsistentCaptureCurrency, AmountExceededCaptureBalance, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException - Specified by:
capturePaymentNewin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusInconsistentCaptureCurrencyAmountExceededCaptureBalanceAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionorg.apache.thrift.TException
-
sendCapturePaymentNew
public void sendCapturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCapturePaymentNew
public void recvCapturePaymentNew() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvalidRequest, OperationNotPermitted, InvalidPartyStatus, InvalidShopStatus, InconsistentCaptureCurrency, AmountExceededCaptureBalance, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvalidRequestOperationNotPermittedInvalidPartyStatusInvalidShopStatusInconsistentCaptureCurrencyAmountExceededCaptureBalanceAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionorg.apache.thrift.TException
-
createPaymentAdjustment
public InvoicePaymentAdjustment createPaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvoicePaymentAdjustmentPending, InvalidPaymentTargetStatus, InvoicePaymentAlreadyHasStatus, InvalidRequest, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceСоздать поправку к платежу. После создания поправку необходимо либо подтвердить, если её эффекты соответствуют ожиданиям, либо отклонить в противном случае (по аналогии с заявками). Пока созданная поправка ни подтверждена, ни отклонена, другую поправку создать невозможно.- Specified by:
createPaymentAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvoicePaymentAdjustmentPendingInvalidPaymentTargetStatusInvoicePaymentAlreadyHasStatusInvalidRequestorg.apache.thrift.TException
-
sendCreatePaymentAdjustment
public void sendCreatePaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCreatePaymentAdjustment
public InvoicePaymentAdjustment recvCreatePaymentAdjustment() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, InvoicePaymentAdjustmentPending, InvalidPaymentTargetStatus, InvoicePaymentAlreadyHasStatus, InvalidRequest, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusInvoicePaymentAdjustmentPendingInvalidPaymentTargetStatusInvoicePaymentAlreadyHasStatusInvalidRequestorg.apache.thrift.TException
-
getPaymentAdjustment
public InvoicePaymentAdjustment getPaymentAdjustment(String id, String payment_id, String adjustment_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, org.apache.thrift.TException - Specified by:
getPaymentAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundorg.apache.thrift.TException
-
sendGetPaymentAdjustment
public void sendGetPaymentAdjustment(String id, String payment_id, String adjustment_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvGetPaymentAdjustment
public InvoicePaymentAdjustment recvGetPaymentAdjustment() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundorg.apache.thrift.TException
-
capturePaymentAdjustment
public void capturePaymentAdjustment(String id, String payment_id, String adjustment_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, InvalidPaymentAdjustmentStatus, org.apache.thrift.TException - Specified by:
capturePaymentAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundInvalidPaymentAdjustmentStatusorg.apache.thrift.TException
-
sendCapturePaymentAdjustment
public void sendCapturePaymentAdjustment(String id, String payment_id, String adjustment_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCapturePaymentAdjustment
public void recvCapturePaymentAdjustment() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, InvalidPaymentAdjustmentStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundInvalidPaymentAdjustmentStatusorg.apache.thrift.TException
-
cancelPaymentAdjustment
public void cancelPaymentAdjustment(String id, String payment_id, String adjustment_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, InvalidPaymentAdjustmentStatus, org.apache.thrift.TException - Specified by:
cancelPaymentAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundInvalidPaymentAdjustmentStatusorg.apache.thrift.TException
-
sendCancelPaymentAdjustment
public void sendCancelPaymentAdjustment(String id, String payment_id, String adjustment_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCancelPaymentAdjustment
public void recvCancelPaymentAdjustment() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentAdjustmentNotFound, InvalidPaymentAdjustmentStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentAdjustmentNotFoundInvalidPaymentAdjustmentStatusorg.apache.thrift.TException
-
createChargeback
public InvoicePaymentChargeback createChargeback(String id, String payment_id, InvoicePaymentChargebackParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, InvoicePaymentChargebackPending, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceСоздать чарджбэк- Specified by:
createChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusOperationNotPermittedInsufficientAccountBalanceInvoicePaymentAmountExceededInconsistentChargebackCurrencyInvoicePaymentChargebackInvalidStatusInvalidContractStatusInvoicePaymentChargebackPendingorg.apache.thrift.TException
-
sendCreateChargeback
public void sendCreateChargeback(String id, String payment_id, InvoicePaymentChargebackParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCreateChargeback
public InvoicePaymentChargeback recvCreateChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, InvoicePaymentChargebackPending, org.apache.thrift.TException -
getPaymentChargeback
public InvoicePaymentChargeback getPaymentChargeback(String id, String payment_id, String chargeback_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceНайти чарджбэк- Specified by:
getPaymentChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundorg.apache.thrift.TException
-
sendGetPaymentChargeback
public void sendGetPaymentChargeback(String id, String payment_id, String chargeback_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvGetPaymentChargeback
public InvoicePaymentChargeback recvGetPaymentChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundorg.apache.thrift.TException
-
acceptChargeback
public void acceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceПринять чарджбэк- Specified by:
acceptChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundOperationNotPermittedInvoicePaymentAmountExceededInconsistentChargebackCurrencyInvoicePaymentChargebackInvalidStatusInvalidContractStatusorg.apache.thrift.TException
-
sendAcceptChargeback
public void sendAcceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvAcceptChargeback
public void recvAcceptChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, org.apache.thrift.TException -
rejectChargeback
public void rejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceОтклонить чарджбэк- Specified by:
rejectChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundOperationNotPermittedInconsistentChargebackCurrencyInvoicePaymentChargebackInvalidStatusInvalidContractStatusorg.apache.thrift.TException
-
sendRejectChargeback
public void sendRejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvRejectChargeback
public void recvRejectChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, org.apache.thrift.TException -
reopenChargeback
public void reopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, InvoicePaymentChargebackCannotReopenAfterArbitration, InvoicePaymentChargebackInvalidStage, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceОткрыть чарджбэк заново. Переход возможен из отклонённого состояния, если покупатель не согласен с результатом и хочет его оспорить.- Specified by:
reopenChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundOperationNotPermittedInvoicePaymentAmountExceededInconsistentChargebackCurrencyInvoicePaymentChargebackInvalidStatusInvalidContractStatusInvoicePaymentChargebackCannotReopenAfterArbitrationInvoicePaymentChargebackInvalidStageorg.apache.thrift.TException
-
sendReopenChargeback
public void sendReopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvReopenChargeback
public void recvReopenChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, OperationNotPermitted, InvoicePaymentAmountExceeded, InconsistentChargebackCurrency, InvoicePaymentChargebackInvalidStatus, InvalidContractStatus, InvoicePaymentChargebackCannotReopenAfterArbitration, InvoicePaymentChargebackInvalidStage, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundOperationNotPermittedInvoicePaymentAmountExceededInconsistentChargebackCurrencyInvoicePaymentChargebackInvalidStatusInvalidContractStatusInvoicePaymentChargebackCannotReopenAfterArbitrationInvoicePaymentChargebackInvalidStageorg.apache.thrift.TException
-
cancelChargeback
public void cancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, InvoicePaymentChargebackInvalidStatus, InvoicePaymentChargebackInvalidStage, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceОтмена чарджбэка. Комиссия с мерчанта не взимается.- Specified by:
cancelChargebackin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundInvoicePaymentChargebackInvalidStatusInvoicePaymentChargebackInvalidStageorg.apache.thrift.TException
-
sendCancelChargeback
public void sendCancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCancelChargeback
public void recvCancelChargeback() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentChargebackNotFound, InvoicePaymentChargebackInvalidStatus, InvoicePaymentChargebackInvalidStage, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentChargebackNotFoundInvoicePaymentChargebackInvalidStatusInvoicePaymentChargebackInvalidStageorg.apache.thrift.TException
-
refundPayment
public InvoicePaymentRefund refundPayment(String id, String payment_id, InvoicePaymentRefundParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvalidRequest, InvoicePaymentAmountExceeded, InconsistentRefundCurrency, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoicePaymentChargebackPending, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, AllocationNotFound, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceСделать возврат платежа.- Specified by:
refundPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusOperationNotPermittedInsufficientAccountBalanceInvalidRequestInvoicePaymentAmountExceededInconsistentRefundCurrencyInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvoicePaymentChargebackPendingAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionAllocationNotFoundorg.apache.thrift.TException
-
sendRefundPayment
public void sendRefundPayment(String id, String payment_id, InvoicePaymentRefundParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvRefundPayment
public InvoicePaymentRefund recvRefundPayment() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvalidRequest, InvoicePaymentAmountExceeded, InconsistentRefundCurrency, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvoicePaymentChargebackPending, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, AllocationNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusOperationNotPermittedInsufficientAccountBalanceInvalidRequestInvoicePaymentAmountExceededInconsistentRefundCurrencyInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvoicePaymentChargebackPendingAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionAllocationNotFoundorg.apache.thrift.TException
-
createManualRefund
public InvoicePaymentRefund createManualRefund(String id, String payment_id, InvoicePaymentRefundParams params) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvoicePaymentAmountExceeded, InconsistentRefundCurrency, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRequest, InvoicePaymentChargebackPending, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, AllocationNotFound, org.apache.thrift.TException Description copied from interface:InvoicingSrv.IfaceСделать ручной возврат.- Specified by:
createManualRefundin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusOperationNotPermittedInsufficientAccountBalanceInvoicePaymentAmountExceededInconsistentRefundCurrencyInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRequestInvoicePaymentChargebackPendingAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionAllocationNotFoundorg.apache.thrift.TException
-
sendCreateManualRefund
public void sendCreateManualRefund(String id, String payment_id, InvoicePaymentRefundParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvCreateManualRefund
public InvoicePaymentRefund recvCreateManualRefund() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidPaymentStatus, OperationNotPermitted, InsufficientAccountBalance, InvoicePaymentAmountExceeded, InconsistentRefundCurrency, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, InvalidRequest, InvoicePaymentChargebackPending, AllocationNotAllowed, AllocationExceededPaymentAmount, AllocationInvalidTransaction, AllocationNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidPaymentStatusOperationNotPermittedInsufficientAccountBalanceInvoicePaymentAmountExceededInconsistentRefundCurrencyInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRequestInvoicePaymentChargebackPendingAllocationNotAllowedAllocationExceededPaymentAmountAllocationInvalidTransactionAllocationNotFoundorg.apache.thrift.TException
-
getPaymentRefund
public InvoicePaymentRefund getPaymentRefund(String id, String payment_id, String refund_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentRefundNotFound, org.apache.thrift.TException - Specified by:
getPaymentRefundin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentRefundNotFoundorg.apache.thrift.TException
-
sendGetPaymentRefund
public void sendGetPaymentRefund(String id, String payment_id, String refund_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvGetPaymentRefund
public InvoicePaymentRefund recvGetPaymentRefund() throws InvoiceNotFound, InvoicePaymentNotFound, InvoicePaymentRefundNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvoicePaymentRefundNotFoundorg.apache.thrift.TException
-
fulfill
public void fulfill(String id, String reason) throws InvoiceNotFound, InvalidInvoiceStatus, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, org.apache.thrift.TException - Specified by:
fulfillin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvalidPartyStatusInvalidShopStatusInvalidContractStatusorg.apache.thrift.TException
-
sendFulfill
- Throws:
org.apache.thrift.TException
-
recvFulfill
public void recvFulfill() throws InvoiceNotFound, InvalidInvoiceStatus, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvalidPartyStatusInvalidShopStatusInvalidContractStatusorg.apache.thrift.TException
-
rescind
public void rescind(String id, String reason) throws InvoiceNotFound, InvalidInvoiceStatus, InvoicePaymentPending, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, org.apache.thrift.TException - Specified by:
rescindin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoicePaymentPendingInvalidPartyStatusInvalidShopStatusInvalidContractStatusorg.apache.thrift.TException
-
sendRescind
- Throws:
org.apache.thrift.TException
-
recvRescind
public void recvRescind() throws InvoiceNotFound, InvalidInvoiceStatus, InvoicePaymentPending, InvalidPartyStatus, InvalidShopStatus, InvalidContractStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoicePaymentPendingInvalidPartyStatusInvalidShopStatusInvalidContractStatusorg.apache.thrift.TException
-
repair
public void repair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params) throws InvoiceNotFound, InvalidRequest, org.apache.thrift.TException - Specified by:
repairin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidRequestorg.apache.thrift.TException
-
sendRepair
public void sendRepair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvRepair
- Throws:
InvoiceNotFoundInvalidRequestorg.apache.thrift.TException
-
repairWithScenario
public void repairWithScenario(String id, InvoiceRepairScenario Scenario) throws InvoiceNotFound, InvalidRequest, org.apache.thrift.TException - Specified by:
repairWithScenarioin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidRequestorg.apache.thrift.TException
-
sendRepairWithScenario
public void sendRepairWithScenario(String id, InvoiceRepairScenario Scenario) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvRepairWithScenario
public void recvRepairWithScenario() throws InvoiceNotFound, InvalidRequest, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidRequestorg.apache.thrift.TException
-
getPaymentRoutesLimitValues
public Map<PaymentRoute,List<TurnoverLimitValue>> getPaymentRoutesLimitValues(String id, String payment_id) throws InvoiceNotFound, InvoicePaymentNotFound, InvalidRequest, org.apache.thrift.TException - Specified by:
getPaymentRoutesLimitValuesin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidRequestorg.apache.thrift.TException
-
sendGetPaymentRoutesLimitValues
public void sendGetPaymentRoutesLimitValues(String id, String payment_id) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
recvGetPaymentRoutesLimitValues
public Map<PaymentRoute,List<TurnoverLimitValue>> recvGetPaymentRoutesLimitValues() throws InvoiceNotFound, InvoicePaymentNotFound, InvalidRequest, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoicePaymentNotFoundInvalidRequestorg.apache.thrift.TException
-