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 Modifier and Type Class Description static classInvoicingSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
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
-
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
-
createInvoiceAdjustment
public InvoiceAdjustment createInvoiceAdjustment(String id, InvoiceAdjustmentParams params) throws InvoiceNotFound, InvalidInvoiceStatus, InvoiceAdjustmentPending, InvoiceAdjustmentStatusUnacceptable, InvoiceAlreadyHasStatus, InvalidRequest, InvoicePaymentPending, org.apache.thrift.TException- Specified by:
createInvoiceAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoiceAdjustmentPendingInvoiceAdjustmentStatusUnacceptableInvoiceAlreadyHasStatusInvalidRequestInvoicePaymentPendingorg.apache.thrift.TException
-
sendCreateInvoiceAdjustment
public void sendCreateInvoiceAdjustment(String id, InvoiceAdjustmentParams params) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCreateInvoiceAdjustment
public InvoiceAdjustment recvCreateInvoiceAdjustment() throws InvoiceNotFound, InvalidInvoiceStatus, InvoiceAdjustmentPending, InvoiceAdjustmentStatusUnacceptable, InvoiceAlreadyHasStatus, InvalidRequest, InvoicePaymentPending, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoiceAdjustmentPendingInvoiceAdjustmentStatusUnacceptableInvoiceAlreadyHasStatusInvalidRequestInvoicePaymentPendingorg.apache.thrift.TException
-
getAdjustment
public InvoiceAdjustment getAdjustment(String id, String adjustment_id) throws InvoiceNotFound, InvoiceAdjustmentNotFound, org.apache.thrift.TException- Specified by:
getAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundorg.apache.thrift.TException
-
sendGetAdjustment
- Throws:
org.apache.thrift.TException
-
recvGetAdjustment
public InvoiceAdjustment recvGetAdjustment() throws InvoiceNotFound, InvoiceAdjustmentNotFound, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundorg.apache.thrift.TException
-
captureAdjustment
public void captureAdjustment(String id, String adjustment_id) throws InvoiceNotFound, InvoiceAdjustmentNotFound, InvalidInvoiceAdjustmentStatus, org.apache.thrift.TException- Specified by:
captureAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundInvalidInvoiceAdjustmentStatusorg.apache.thrift.TException
-
sendCaptureAdjustment
public void sendCaptureAdjustment(String id, String adjustment_id) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCaptureAdjustment
public void recvCaptureAdjustment() throws InvoiceNotFound, InvoiceAdjustmentNotFound, InvalidInvoiceAdjustmentStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundInvalidInvoiceAdjustmentStatusorg.apache.thrift.TException
-
cancelAdjustment
public void cancelAdjustment(String id, String adjustment_id) throws InvoiceNotFound, InvoiceAdjustmentNotFound, InvalidInvoiceAdjustmentStatus, org.apache.thrift.TException- Specified by:
cancelAdjustmentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundInvalidInvoiceAdjustmentStatusorg.apache.thrift.TException
-
sendCancelAdjustment
public void sendCancelAdjustment(String id, String adjustment_id) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvCancelAdjustment
public void recvCancelAdjustment() throws InvoiceNotFound, InvoiceAdjustmentNotFound, InvalidInvoiceAdjustmentStatus, org.apache.thrift.TException- Throws:
InvoiceNotFoundInvoiceAdjustmentNotFoundInvalidInvoiceAdjustmentStatusorg.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, InvoiceAdjustmentPending, org.apache.thrift.TException- Specified by:
startPaymentin interfaceInvoicingSrv.Iface- Throws:
InvoiceNotFoundInvalidInvoiceStatusInvoicePaymentPendingInvalidRequestInvalidPartyStatusInvalidShopStatusInvalidContractStatusInvalidRecurrentParentPaymentOperationNotPermittedInvoiceAdjustmentPendingorg.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, InvoiceAdjustmentPending, org.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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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.TExceptionDescription 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
-