Class InvoicingSrv.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.damsel.payment_processing.InvoicingSrv.AsyncClient
- All Implemented Interfaces:
InvoicingSrv.AsyncIface
- Enclosing class:
- InvoicingSrv
public static class InvoicingSrv.AsyncClient extends org.apache.thrift.async.TAsyncClient implements InvoicingSrv.AsyncIface
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.thrift.async.TAsyncClient
___currentMethod, ___manager, ___protocolFactory, ___transport -
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) -
Method Summary
Modifier and Type Method Description voidacceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcancelAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcancelPayment(String id, String payment_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcancelPaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcaptureAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcapturePayment(String id, String payment_id, InvoicePaymentCaptureParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcapturePaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcapturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidcomputeTerms(String id, PartyRevisionParam party_revision_param, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler)voidcreate(InvoiceParams params, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler)voidcreateChargeback(String id, String payment_id, InvoicePaymentChargebackParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentChargeback> resultHandler)voidcreateInvoiceAdjustment(String id, InvoiceAdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoiceAdjustment> resultHandler)voidcreateManualRefund(String id, String payment_id, InvoicePaymentRefundParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler)voidcreatePaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentAdjustment> resultHandler)voidcreateWithTemplate(InvoiceWithTemplateParams params, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler)voidfulfill(String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidget(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler)voidgetAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<InvoiceAdjustment> resultHandler)voidgetEvents(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler)voidgetPayment(String id, String payment_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePayment> resultHandler)voidgetPaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentAdjustment> resultHandler)voidgetPaymentChargeback(String id, String payment_id, String chargeback_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentChargeback> resultHandler)voidgetPaymentRefund(String id, String payment_id, String refund_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler)voidrefundPayment(String id, String payment_id, InvoicePaymentRefundParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler)voidrejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidreopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrepair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrepairWithScenario(String id, InvoiceRepairScenario Scenario, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidrescind(String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidstartPayment(String id, InvoicePaymentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePayment> resultHandler)Methods inherited from class org.apache.thrift.async.TAsyncClient
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
-
Constructor Details
-
AsyncClient
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
-
Method Details
-
create
public void create(InvoiceParams params, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler) throws org.apache.thrift.TException- Specified by:
createin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createWithTemplate
public void createWithTemplate(InvoiceWithTemplateParams params, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler) throws org.apache.thrift.TException- Specified by:
createWithTemplatein interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
get
public void get(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<Invoice> resultHandler) throws org.apache.thrift.TException- Specified by:
getin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getEvents
public void getEvents(String id, EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<Event>> resultHandler) throws org.apache.thrift.TException- Specified by:
getEventsin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createInvoiceAdjustment
public void createInvoiceAdjustment(String id, InvoiceAdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoiceAdjustment> resultHandler) throws org.apache.thrift.TException- Specified by:
createInvoiceAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getAdjustment
public void getAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<InvoiceAdjustment> resultHandler) throws org.apache.thrift.TException- Specified by:
getAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
captureAdjustment
public void captureAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
captureAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
cancelAdjustment
public void cancelAdjustment(String id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
cancelAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
computeTerms
public void computeTerms(String id, PartyRevisionParam party_revision_param, org.apache.thrift.async.AsyncMethodCallback<TermSet> resultHandler) throws org.apache.thrift.TException- Specified by:
computeTermsin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
startPayment
public void startPayment(String id, InvoicePaymentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePayment> resultHandler) throws org.apache.thrift.TException- Specified by:
startPaymentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getPayment
public void getPayment(String id, String payment_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePayment> resultHandler) throws org.apache.thrift.TException- Specified by:
getPaymentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
cancelPayment
public void cancelPayment(String id, String payment_id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
cancelPaymentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
capturePayment
public void capturePayment(String id, String payment_id, InvoicePaymentCaptureParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
capturePaymentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
capturePaymentNew
public void capturePaymentNew(String id, String payment_id, InvoicePaymentCaptureParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
capturePaymentNewin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createPaymentAdjustment
public void createPaymentAdjustment(String id, String payment_id, InvoicePaymentAdjustmentParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentAdjustment> resultHandler) throws org.apache.thrift.TException- Specified by:
createPaymentAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getPaymentAdjustment
public void getPaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentAdjustment> resultHandler) throws org.apache.thrift.TException- Specified by:
getPaymentAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
capturePaymentAdjustment
public void capturePaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
capturePaymentAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
cancelPaymentAdjustment
public void cancelPaymentAdjustment(String id, String payment_id, String adjustment_id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
cancelPaymentAdjustmentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createChargeback
public void createChargeback(String id, String payment_id, InvoicePaymentChargebackParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentChargeback> resultHandler) throws org.apache.thrift.TException- Specified by:
createChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getPaymentChargeback
public void getPaymentChargeback(String id, String payment_id, String chargeback_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentChargeback> resultHandler) throws org.apache.thrift.TException- Specified by:
getPaymentChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
acceptChargeback
public void acceptChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackAcceptParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
acceptChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
rejectChargeback
public void rejectChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackRejectParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
rejectChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
reopenChargeback
public void reopenChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackReopenParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
reopenChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
cancelChargeback
public void cancelChargeback(String id, String payment_id, String chargeback_id, InvoicePaymentChargebackCancelParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
cancelChargebackin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
refundPayment
public void refundPayment(String id, String payment_id, InvoicePaymentRefundParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler) throws org.apache.thrift.TException- Specified by:
refundPaymentin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
createManualRefund
public void createManualRefund(String id, String payment_id, InvoicePaymentRefundParams params, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler) throws org.apache.thrift.TException- Specified by:
createManualRefundin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
getPaymentRefund
public void getPaymentRefund(String id, String payment_id, String refund_id, org.apache.thrift.async.AsyncMethodCallback<InvoicePaymentRefund> resultHandler) throws org.apache.thrift.TException- Specified by:
getPaymentRefundin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
fulfill
public void fulfill(String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
fulfillin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
rescind
public void rescind(String id, String reason, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
rescindin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
repair
public void repair(String id, List<InvoiceChange> changes, ComplexAction action, InvoiceRepairParams params, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
repairin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-
repairWithScenario
public void repairWithScenario(String id, InvoiceRepairScenario Scenario, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException- Specified by:
repairWithScenarioin interfaceInvoicingSrv.AsyncIface- Throws:
org.apache.thrift.TException
-