Package com.chargebee.v4.services
Class TransactionService
java.lang.Object
com.chargebee.v4.services.BaseService<TransactionService>
com.chargebee.v4.services.TransactionService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAsync variant of createAuthorization for transaction with params.deleteOfflineTransaction(String transactionId) deleteOfflineTransaction(String transactionId, DeleteOfflineTransactionParams params) deleteOfflineTransactionAsync(String transactionId) Async variant of deleteOfflineTransaction for transaction without params.deleteOfflineTransactionAsync(String transactionId, DeleteOfflineTransactionParams params) Async variant of deleteOfflineTransaction for transaction with params.list()list(TransactionListParams params) Async variant of list for transaction without params.listAsync(TransactionListParams params) Async variant of list for transaction with params.paymentsForInvoice(String invoiceId) paymentsForInvoice(String invoiceId, TransactionPaymentsForInvoiceParams params) paymentsForInvoiceAsync(String invoiceId) Async variant of paymentsForInvoice for transaction without params.paymentsForInvoiceAsync(String invoiceId, TransactionPaymentsForInvoiceParams params) Async variant of paymentsForInvoice for transaction with params.reconcile(String transactionId, TransactionReconcileParams params) reconcileAsync(String transactionId) Async variant of reconcile for transaction without params.reconcileAsync(String transactionId, TransactionReconcileParams params) Async variant of reconcile for transaction with params.recordRefund(String transactionId, TransactionRecordRefundParams params) recordRefundAsync(String transactionId, TransactionRecordRefundParams params) Async variant of recordRefund for transaction with params.refund(String transactionId, TransactionRefundParams params) refundAsync(String transactionId) Async variant of refund for transaction without params.refundAsync(String transactionId, TransactionRefundParams params) Async variant of refund for transaction with params.retrieveAsync(String transactionId) Async variant of retrieve for transaction without params.syncTransaction(String transactionId) syncTransactionAsync(String transactionId) Async variant of syncTransaction for transaction without params.transactionsForCustomer(String customerId) transactionsForCustomer(String customerId, TransactionsForCustomerParams params) transactionsForCustomerAsync(String customerId) Async variant of transactionsForCustomer for transaction without params.transactionsForCustomerAsync(String customerId, TransactionsForCustomerParams params) Async variant of transactionsForCustomer for transaction with params.transactionsForSubscription(String subscriptionId) transactionsForSubscription(String subscriptionId, TransactionsForSubscriptionParams params) transactionsForSubscriptionAsync(String subscriptionId) Async variant of transactionsForSubscription for transaction without params.transactionsForSubscriptionAsync(String subscriptionId, TransactionsForSubscriptionParams params) Async variant of transactionsForSubscription for transaction with params.voidTransaction(String transactionId) voidTransactionAsync(String transactionId) Async variant of voidTransaction for transaction without params.withOptions(RequestOptions options) Apply per-request options for this service instance.Methods inherited from class com.chargebee.v4.services.BaseService
buildPathWithParams, clientForBuilders, clientWithOptions, get, getAsync, getMergedHeaders, getWithSubDomain, getWithSubDomainAsync, header, headers, options, parseResponse, post, postAsync, postJson, postJsonAsync, postJsonWithSubDomain, postJsonWithSubDomainAsync, postWithSubDomain, postWithSubDomainAsync
-
Constructor Details
-
TransactionService
-
-
Method Details
-
withOptions
Apply per-request options for this service instance. Users can chain .withOptions or .options to set headers and other options.- Overrides:
withOptionsin classBaseService<TransactionService>
-
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for transaction with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for transaction without params. -
reconcile
public TransactionReconcileResponse reconcile(String transactionId, TransactionReconcileParams params) throws ChargebeeException - Throws:
ChargebeeException
-
reconcileAsync
public CompletableFuture<TransactionReconcileResponse> reconcileAsync(String transactionId, TransactionReconcileParams params) Async variant of reconcile for transaction with params. -
reconcile
- Throws:
ChargebeeException
-
reconcileAsync
Async variant of reconcile for transaction without params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for transaction without params. -
refund
public TransactionRefundResponse refund(String transactionId, TransactionRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
refundAsync
public CompletableFuture<TransactionRefundResponse> refundAsync(String transactionId, TransactionRefundParams params) Async variant of refund for transaction with params. -
refund
- Throws:
ChargebeeException
-
refundAsync
Async variant of refund for transaction without params. -
transactionsForCustomer
public TransactionsForCustomerResponse transactionsForCustomer(String customerId, TransactionsForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
transactionsForCustomer
public TransactionsForCustomerResponse transactionsForCustomer(String customerId) throws ChargebeeException - Throws:
ChargebeeException
-
transactionsForCustomerAsync
public CompletableFuture<TransactionsForCustomerResponse> transactionsForCustomerAsync(String customerId, TransactionsForCustomerParams params) Async variant of transactionsForCustomer for transaction with params. -
transactionsForCustomerAsync
public CompletableFuture<TransactionsForCustomerResponse> transactionsForCustomerAsync(String customerId) Async variant of transactionsForCustomer for transaction without params. -
recordRefund
public TransactionRecordRefundResponse recordRefund(String transactionId, TransactionRecordRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
recordRefundAsync
public CompletableFuture<TransactionRecordRefundResponse> recordRefundAsync(String transactionId, TransactionRecordRefundParams params) Async variant of recordRefund for transaction with params. -
transactionsForSubscription
public TransactionsForSubscriptionResponse transactionsForSubscription(String subscriptionId, TransactionsForSubscriptionParams params) throws ChargebeeException - Throws:
ChargebeeException
-
transactionsForSubscription
public TransactionsForSubscriptionResponse transactionsForSubscription(String subscriptionId) throws ChargebeeException - Throws:
ChargebeeException
-
transactionsForSubscriptionAsync
public CompletableFuture<TransactionsForSubscriptionResponse> transactionsForSubscriptionAsync(String subscriptionId, TransactionsForSubscriptionParams params) Async variant of transactionsForSubscription for transaction with params. -
transactionsForSubscriptionAsync
public CompletableFuture<TransactionsForSubscriptionResponse> transactionsForSubscriptionAsync(String subscriptionId) Async variant of transactionsForSubscription for transaction without params. -
voidTransaction
- Throws:
ChargebeeException
-
voidTransactionAsync
Async variant of voidTransaction for transaction without params. -
syncTransaction
- Throws:
ChargebeeException
-
syncTransactionAsync
Async variant of syncTransaction for transaction without params. -
createAuthorization
public TransactionCreateAuthorizationResponse createAuthorization(TransactionCreateAuthorizationParams params) throws ChargebeeException - Throws:
ChargebeeException
-
createAuthorizationAsync
public CompletableFuture<TransactionCreateAuthorizationResponse> createAuthorizationAsync(TransactionCreateAuthorizationParams params) Async variant of createAuthorization for transaction with params. -
paymentsForInvoice
public TransactionPaymentsForInvoiceResponse paymentsForInvoice(String invoiceId, TransactionPaymentsForInvoiceParams params) throws ChargebeeException - Throws:
ChargebeeException
-
paymentsForInvoice
public TransactionPaymentsForInvoiceResponse paymentsForInvoice(String invoiceId) throws ChargebeeException - Throws:
ChargebeeException
-
paymentsForInvoiceAsync
public CompletableFuture<TransactionPaymentsForInvoiceResponse> paymentsForInvoiceAsync(String invoiceId, TransactionPaymentsForInvoiceParams params) Async variant of paymentsForInvoice for transaction with params. -
paymentsForInvoiceAsync
public CompletableFuture<TransactionPaymentsForInvoiceResponse> paymentsForInvoiceAsync(String invoiceId) Async variant of paymentsForInvoice for transaction without params. -
deleteOfflineTransaction
public DeleteOfflineTransactionResponse deleteOfflineTransaction(String transactionId, DeleteOfflineTransactionParams params) throws ChargebeeException - Throws:
ChargebeeException
-
deleteOfflineTransactionAsync
public CompletableFuture<DeleteOfflineTransactionResponse> deleteOfflineTransactionAsync(String transactionId, DeleteOfflineTransactionParams params) Async variant of deleteOfflineTransaction for transaction with params. -
deleteOfflineTransaction
public DeleteOfflineTransactionResponse deleteOfflineTransaction(String transactionId) throws ChargebeeException - Throws:
ChargebeeException
-
deleteOfflineTransactionAsync
public CompletableFuture<DeleteOfflineTransactionResponse> deleteOfflineTransactionAsync(String transactionId) Async variant of deleteOfflineTransaction for transaction without params.
-