Package com.chargebee.v4.services
Class InvoiceService
-
Field Summary
Fields inherited from class com.chargebee.v4.services.BaseService
client, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddonCharge(String invoiceId, InvoiceAddAddonChargeParams params) addAddonChargeAsync(String invoiceId, InvoiceAddAddonChargeParams params) Async variant of addAddonCharge for invoice with params.addCharge(String invoiceId, InvoiceAddChargeParams params) addChargeAsync(String invoiceId, InvoiceAddChargeParams params) Async variant of addCharge for invoice with params.addChargeItem(String invoiceId) addChargeItem(String invoiceId, InvoiceAddChargeItemParams params) addChargeItemAsync(String invoiceId) Async variant of addChargeItem for invoice without params.addChargeItemAsync(String invoiceId, InvoiceAddChargeItemParams params) Async variant of addChargeItem for invoice with params.applyCredits(String invoiceId) applyCredits(String invoiceId, InvoiceApplyCreditsParams params) applyCreditsAsync(String invoiceId) Async variant of applyCredits for invoice without params.applyCreditsAsync(String invoiceId, InvoiceApplyCreditsParams params) Async variant of applyCredits for invoice with params.applyPayments(String invoiceId) applyPayments(String invoiceId, InvoiceApplyPaymentsParams params) applyPaymentsAsync(String invoiceId) Async variant of applyPayments for invoice without params.applyPaymentsAsync(String invoiceId, InvoiceApplyPaymentsParams params) Async variant of applyPayments for invoice with params.applyPaymentScheduleScheme(String invoiceId, InvoiceApplyPaymentScheduleSchemeParams params) applyPaymentScheduleSchemeAsync(String invoiceId, InvoiceApplyPaymentScheduleSchemeParams params) Async variant of applyPaymentScheduleScheme for invoice with params.charge(InvoiceChargeParams params) chargeAddon(InvoiceChargeAddonParams params) Async variant of chargeAddon for invoice with params.chargeAsync(InvoiceChargeParams params) Async variant of charge for invoice with params.close(String invoiceId, InvoiceCloseParams params) closeAsync(String invoiceId) Async variant of close for invoice without params.closeAsync(String invoiceId, InvoiceCloseParams params) Async variant of close for invoice with params.collectPayment(String invoiceId) collectPayment(String invoiceId, InvoiceCollectPaymentParams params) collectPaymentAsync(String invoiceId) Async variant of collectPayment for invoice without params.collectPaymentAsync(String invoiceId, InvoiceCollectPaymentParams params) Async variant of collectPayment for invoice with params.create(InvoiceCreateParams params) createAsync(InvoiceCreateParams params) Async variant of create for invoice with params.Async variant of createForChargeItem for invoice with params.Async variant of createForChargeItemsAndCharges for invoice with params.delete(String invoiceId, InvoiceDeleteParams params) deleteAsync(String invoiceId) Async variant of delete for invoice without params.deleteAsync(String invoiceId, InvoiceDeleteParams params) Async variant of delete for invoice with params.deleteImported(String invoiceId) deleteImported(String invoiceId, InvoiceDeleteImportedParams params) deleteImportedAsync(String invoiceId) Async variant of deleteImported for invoice without params.deleteImportedAsync(String invoiceId, InvoiceDeleteImportedParams params) Async variant of deleteImported for invoice with params.deleteLineItems(String invoiceId) deleteLineItems(String invoiceId, InvoiceDeleteLineItemsParams params) deleteLineItemsAsync(String invoiceId) Async variant of deleteLineItems for invoice without params.deleteLineItemsAsync(String invoiceId, InvoiceDeleteLineItemsParams params) Async variant of deleteLineItems for invoice with params.downloadEinvoice(String invoiceId) downloadEinvoiceAsync(String invoiceId) Async variant of downloadEinvoice for invoice without params.importInvoice(ImportInvoiceParams params) Async variant of importInvoice for invoice with params.invoicesForCustomer(String customerId) invoicesForCustomer(String customerId, InvoicesForCustomerParams params) invoicesForCustomerAsync(String customerId) Async variant of invoicesForCustomer for invoice without params.invoicesForCustomerAsync(String customerId, InvoicesForCustomerParams params) Async variant of invoicesForCustomer for invoice with params.invoicesForSubscription(String subscriptionId) invoicesForSubscription(String subscriptionId, InvoicesForSubscriptionParams params) invoicesForSubscriptionAsync(String subscriptionId) Async variant of invoicesForSubscription for invoice without params.invoicesForSubscriptionAsync(String subscriptionId, InvoicesForSubscriptionParams params) Async variant of invoicesForSubscription for invoice with params.list()list(InvoiceListParams params) Async variant of list for invoice without params.listAsync(InvoiceListParams params) Async variant of list for invoice with params.Async variant of listPaymentReferenceNumbers for invoice without params.Async variant of listPaymentReferenceNumbers for invoice with params.pauseDunning(String invoiceId, InvoicePauseDunningParams params) pauseDunningAsync(String invoiceId, InvoicePauseDunningParams params) Async variant of pauseDunning for invoice with params.paymentSchedules(String invoiceId) paymentSchedulesAsync(String invoiceId) Async variant of paymentSchedules for invoice without params.pdf(String invoiceId, InvoicePdfParams params) Async variant of pdf for invoice without params.pdfAsync(String invoiceId, InvoicePdfParams params) Async variant of pdf for invoice with params.recordPayment(String invoiceId) recordPayment(String invoiceId, InvoiceRecordPaymentParams params) recordPaymentAsync(String invoiceId) Async variant of recordPayment for invoice without params.recordPaymentAsync(String invoiceId, InvoiceRecordPaymentParams params) Async variant of recordPayment for invoice with params.recordRefund(String invoiceId) recordRefund(String invoiceId, InvoiceRecordRefundParams params) recordRefundAsync(String invoiceId) Async variant of recordRefund for invoice without params.recordRefundAsync(String invoiceId, InvoiceRecordRefundParams params) Async variant of recordRefund for invoice with params.recordTaxWithheld(String invoiceId) recordTaxWithheld(String invoiceId, InvoiceRecordTaxWithheldParams params) recordTaxWithheldAsync(String invoiceId) Async variant of recordTaxWithheld for invoice without params.recordTaxWithheldAsync(String invoiceId, InvoiceRecordTaxWithheldParams params) Async variant of recordTaxWithheld for invoice with params.refund(String invoiceId, InvoiceRefundParams params) refundAsync(String invoiceId) Async variant of refund for invoice without params.refundAsync(String invoiceId, InvoiceRefundParams params) Async variant of refund for invoice with params.removeCreditNote(String invoiceId) removeCreditNote(String invoiceId, InvoiceRemoveCreditNoteParams params) removeCreditNoteAsync(String invoiceId) Async variant of removeCreditNote for invoice without params.removeCreditNoteAsync(String invoiceId, InvoiceRemoveCreditNoteParams params) Async variant of removeCreditNote for invoice with params.removePayment(String invoiceId) removePayment(String invoiceId, InvoiceRemovePaymentParams params) removePaymentAsync(String invoiceId) Async variant of removePayment for invoice without params.removePaymentAsync(String invoiceId, InvoiceRemovePaymentParams params) Async variant of removePayment for invoice with params.removeTaxWithheld(String invoiceId) removeTaxWithheld(String invoiceId, InvoiceRemoveTaxWithheldParams params) removeTaxWithheldAsync(String invoiceId) Async variant of removeTaxWithheld for invoice without params.removeTaxWithheldAsync(String invoiceId, InvoiceRemoveTaxWithheldParams params) Async variant of removeTaxWithheld for invoice with params.resendEinvoice(String invoiceId) resendEinvoiceAsync(String invoiceId) Async variant of resendEinvoice for invoice without params.resumeDunning(String invoiceId) resumeDunning(String invoiceId, InvoiceResumeDunningParams params) resumeDunningAsync(String invoiceId) Async variant of resumeDunning for invoice without params.resumeDunningAsync(String invoiceId, InvoiceResumeDunningParams params) Async variant of resumeDunning for invoice with params.retrieve(String invoiceId, InvoiceRetrieveParams params) retrieveAsync(String invoiceId) Async variant of retrieve for invoice without params.retrieveAsync(String invoiceId, InvoiceRetrieveParams params) Async variant of retrieve for invoice with params.sendEinvoice(String invoiceId) sendEinvoiceAsync(String invoiceId) Async variant of sendEinvoice for invoice without params.stopDunning(String invoiceId) stopDunning(String invoiceId, InvoiceStopDunningParams params) stopDunningAsync(String invoiceId) Async variant of stopDunning for invoice without params.stopDunningAsync(String invoiceId, InvoiceStopDunningParams params) Async variant of stopDunning for invoice with params.syncUsages(String invoiceId) syncUsagesAsync(String invoiceId) Async variant of syncUsages for invoice without params.updateDetails(String invoiceId) updateDetails(String invoiceId, InvoiceUpdateDetailsParams params) updateDetailsAsync(String invoiceId) Async variant of updateDetails for invoice without params.updateDetailsAsync(String invoiceId, InvoiceUpdateDetailsParams params) Async variant of updateDetails for invoice with params.voidInvoice(String invoiceId) voidInvoice(String invoiceId, VoidInvoiceParams params) voidInvoiceAsync(String invoiceId) Async variant of voidInvoice for invoice without params.voidInvoiceAsync(String invoiceId, VoidInvoiceParams params) Async variant of voidInvoice for invoice with params.withOptions(RequestOptions options) Apply per-request options for this service instance.writeOff(String invoiceId, InvoiceWriteOffParams params) writeOffAsync(String invoiceId) Async variant of writeOff for invoice without params.writeOffAsync(String invoiceId, InvoiceWriteOffParams params) Async variant of writeOff for invoice with params.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
-
InvoiceService
-
-
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<InvoiceService>
-
deleteLineItems
public InvoiceDeleteLineItemsResponse deleteLineItems(String invoiceId, InvoiceDeleteLineItemsParams params) throws ChargebeeException - Throws:
ChargebeeException
-
deleteLineItemsAsync
public CompletableFuture<InvoiceDeleteLineItemsResponse> deleteLineItemsAsync(String invoiceId, InvoiceDeleteLineItemsParams params) Async variant of deleteLineItems for invoice with params. -
deleteLineItems
- Throws:
ChargebeeException
-
deleteLineItemsAsync
Async variant of deleteLineItems for invoice without params. -
removeCreditNote
public InvoiceRemoveCreditNoteResponse removeCreditNote(String invoiceId, InvoiceRemoveCreditNoteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
removeCreditNoteAsync
public CompletableFuture<InvoiceRemoveCreditNoteResponse> removeCreditNoteAsync(String invoiceId, InvoiceRemoveCreditNoteParams params) Async variant of removeCreditNote for invoice with params. -
removeCreditNote
- Throws:
ChargebeeException
-
removeCreditNoteAsync
Async variant of removeCreditNote for invoice without params. -
removePayment
public InvoiceRemovePaymentResponse removePayment(String invoiceId, InvoiceRemovePaymentParams params) throws ChargebeeException - Throws:
ChargebeeException
-
removePaymentAsync
public CompletableFuture<InvoiceRemovePaymentResponse> removePaymentAsync(String invoiceId, InvoiceRemovePaymentParams params) Async variant of removePayment for invoice with params. -
removePayment
- Throws:
ChargebeeException
-
removePaymentAsync
Async variant of removePayment for invoice without params. -
stopDunning
public InvoiceStopDunningResponse stopDunning(String invoiceId, InvoiceStopDunningParams params) throws ChargebeeException - Throws:
ChargebeeException
-
stopDunningAsync
public CompletableFuture<InvoiceStopDunningResponse> stopDunningAsync(String invoiceId, InvoiceStopDunningParams params) Async variant of stopDunning for invoice with params. -
stopDunning
- Throws:
ChargebeeException
-
stopDunningAsync
Async variant of stopDunning for invoice without params. -
applyPayments
public InvoiceApplyPaymentsResponse applyPayments(String invoiceId, InvoiceApplyPaymentsParams params) throws ChargebeeException - Throws:
ChargebeeException
-
applyPaymentsAsync
public CompletableFuture<InvoiceApplyPaymentsResponse> applyPaymentsAsync(String invoiceId, InvoiceApplyPaymentsParams params) Async variant of applyPayments for invoice with params. -
applyPayments
- Throws:
ChargebeeException
-
applyPaymentsAsync
Async variant of applyPayments for invoice without params. -
applyPaymentScheduleScheme
public InvoiceApplyPaymentScheduleSchemeResponse applyPaymentScheduleScheme(String invoiceId, InvoiceApplyPaymentScheduleSchemeParams params) throws ChargebeeException - Throws:
ChargebeeException
-
applyPaymentScheduleSchemeAsync
public CompletableFuture<InvoiceApplyPaymentScheduleSchemeResponse> applyPaymentScheduleSchemeAsync(String invoiceId, InvoiceApplyPaymentScheduleSchemeParams params) Async variant of applyPaymentScheduleScheme for invoice with params. -
voidInvoice
public VoidInvoiceResponse voidInvoice(String invoiceId, VoidInvoiceParams params) throws ChargebeeException - Throws:
ChargebeeException
-
voidInvoiceAsync
public CompletableFuture<VoidInvoiceResponse> voidInvoiceAsync(String invoiceId, VoidInvoiceParams params) Async variant of voidInvoice for invoice with params. -
voidInvoice
- Throws:
ChargebeeException
-
voidInvoiceAsync
Async variant of voidInvoice for invoice without params. -
addCharge
public InvoiceAddChargeResponse addCharge(String invoiceId, InvoiceAddChargeParams params) throws ChargebeeException - Throws:
ChargebeeException
-
addChargeAsync
public CompletableFuture<InvoiceAddChargeResponse> addChargeAsync(String invoiceId, InvoiceAddChargeParams params) Async variant of addCharge for invoice with params. -
sendEinvoice
- Throws:
ChargebeeException
-
sendEinvoiceAsync
Async variant of sendEinvoice for invoice without params. -
paymentSchedules
- Throws:
ChargebeeException
-
paymentSchedulesAsync
Async variant of paymentSchedules for invoice without params. -
writeOff
public InvoiceWriteOffResponse writeOff(String invoiceId, InvoiceWriteOffParams params) throws ChargebeeException - Throws:
ChargebeeException
-
writeOffAsync
public CompletableFuture<InvoiceWriteOffResponse> writeOffAsync(String invoiceId, InvoiceWriteOffParams params) Async variant of writeOff for invoice with params. -
writeOff
- Throws:
ChargebeeException
-
writeOffAsync
Async variant of writeOff for invoice without params. -
addChargeItem
public InvoiceAddChargeItemResponse addChargeItem(String invoiceId, InvoiceAddChargeItemParams params) throws ChargebeeException - Throws:
ChargebeeException
-
addChargeItemAsync
public CompletableFuture<InvoiceAddChargeItemResponse> addChargeItemAsync(String invoiceId, InvoiceAddChargeItemParams params) Async variant of addChargeItem for invoice with params. -
addChargeItem
- Throws:
ChargebeeException
-
addChargeItemAsync
Async variant of addChargeItem for invoice without params. -
pauseDunning
public InvoicePauseDunningResponse pauseDunning(String invoiceId, InvoicePauseDunningParams params) throws ChargebeeException - Throws:
ChargebeeException
-
pauseDunningAsync
public CompletableFuture<InvoicePauseDunningResponse> pauseDunningAsync(String invoiceId, InvoicePauseDunningParams params) Async variant of pauseDunning for invoice with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for invoice with params. -
list
- Throws:
ChargebeeException
-
listAsync
Async variant of list for invoice without params. -
create
- Throws:
ChargebeeException
-
createAsync
Async variant of create for invoice with params. -
close
public InvoiceCloseResponse close(String invoiceId, InvoiceCloseParams params) throws ChargebeeException - Throws:
ChargebeeException
-
closeAsync
public CompletableFuture<InvoiceCloseResponse> closeAsync(String invoiceId, InvoiceCloseParams params) Async variant of close for invoice with params. -
close
- Throws:
ChargebeeException
-
closeAsync
Async variant of close for invoice without params. -
applyCredits
public InvoiceApplyCreditsResponse applyCredits(String invoiceId, InvoiceApplyCreditsParams params) throws ChargebeeException - Throws:
ChargebeeException
-
applyCreditsAsync
public CompletableFuture<InvoiceApplyCreditsResponse> applyCreditsAsync(String invoiceId, InvoiceApplyCreditsParams params) Async variant of applyCredits for invoice with params. -
applyCredits
- Throws:
ChargebeeException
-
applyCreditsAsync
Async variant of applyCredits for invoice without params. -
retrieve
public InvoiceRetrieveResponse retrieve(String invoiceId, InvoiceRetrieveParams params) throws ChargebeeException - Throws:
ChargebeeException
-
retrieveAsync
public CompletableFuture<InvoiceRetrieveResponse> retrieveAsync(String invoiceId, InvoiceRetrieveParams params) Async variant of retrieve for invoice with params. -
retrieve
- Throws:
ChargebeeException
-
retrieveAsync
Async variant of retrieve for invoice without params. -
createForChargeItem
public InvoiceCreateForChargeItemResponse createForChargeItem(InvoiceCreateForChargeItemParams params) throws ChargebeeException - Throws:
ChargebeeException
-
createForChargeItemAsync
public CompletableFuture<InvoiceCreateForChargeItemResponse> createForChargeItemAsync(InvoiceCreateForChargeItemParams params) Async variant of createForChargeItem for invoice with params. -
createForChargeItemsAndCharges
public InvoiceCreateForChargeItemsAndChargesResponse createForChargeItemsAndCharges(InvoiceCreateForChargeItemsAndChargesParams params) throws ChargebeeException - Throws:
ChargebeeException
-
createForChargeItemsAndChargesAsync
public CompletableFuture<InvoiceCreateForChargeItemsAndChargesResponse> createForChargeItemsAndChargesAsync(InvoiceCreateForChargeItemsAndChargesParams params) Async variant of createForChargeItemsAndCharges for invoice with params. -
deleteImported
public InvoiceDeleteImportedResponse deleteImported(String invoiceId, InvoiceDeleteImportedParams params) throws ChargebeeException - Throws:
ChargebeeException
-
deleteImportedAsync
public CompletableFuture<InvoiceDeleteImportedResponse> deleteImportedAsync(String invoiceId, InvoiceDeleteImportedParams params) Async variant of deleteImported for invoice with params. -
deleteImported
- Throws:
ChargebeeException
-
deleteImportedAsync
Async variant of deleteImported for invoice without params. -
updateDetails
public InvoiceUpdateDetailsResponse updateDetails(String invoiceId, InvoiceUpdateDetailsParams params) throws ChargebeeException - Throws:
ChargebeeException
-
updateDetailsAsync
public CompletableFuture<InvoiceUpdateDetailsResponse> updateDetailsAsync(String invoiceId, InvoiceUpdateDetailsParams params) Async variant of updateDetails for invoice with params. -
updateDetails
- Throws:
ChargebeeException
-
updateDetailsAsync
Async variant of updateDetails for invoice without params. -
invoicesForCustomer
public InvoicesForCustomerResponse invoicesForCustomer(String customerId, InvoicesForCustomerParams params) throws ChargebeeException - Throws:
ChargebeeException
-
invoicesForCustomer
- Throws:
ChargebeeException
-
invoicesForCustomerAsync
public CompletableFuture<InvoicesForCustomerResponse> invoicesForCustomerAsync(String customerId, InvoicesForCustomerParams params) Async variant of invoicesForCustomer for invoice with params. -
invoicesForCustomerAsync
Async variant of invoicesForCustomer for invoice without params. -
recordPayment
public InvoiceRecordPaymentResponse recordPayment(String invoiceId, InvoiceRecordPaymentParams params) throws ChargebeeException - Throws:
ChargebeeException
-
recordPaymentAsync
public CompletableFuture<InvoiceRecordPaymentResponse> recordPaymentAsync(String invoiceId, InvoiceRecordPaymentParams params) Async variant of recordPayment for invoice with params. -
recordPayment
- Throws:
ChargebeeException
-
recordPaymentAsync
Async variant of recordPayment for invoice without params. -
delete
public InvoiceDeleteResponse delete(String invoiceId, InvoiceDeleteParams params) throws ChargebeeException - Throws:
ChargebeeException
-
deleteAsync
public CompletableFuture<InvoiceDeleteResponse> deleteAsync(String invoiceId, InvoiceDeleteParams params) Async variant of delete for invoice with params. -
delete
- Throws:
ChargebeeException
-
deleteAsync
Async variant of delete for invoice without params. -
importInvoice
- Throws:
ChargebeeException
-
importInvoiceAsync
Async variant of importInvoice for invoice with params. -
resumeDunning
public InvoiceResumeDunningResponse resumeDunning(String invoiceId, InvoiceResumeDunningParams params) throws ChargebeeException - Throws:
ChargebeeException
-
resumeDunningAsync
public CompletableFuture<InvoiceResumeDunningResponse> resumeDunningAsync(String invoiceId, InvoiceResumeDunningParams params) Async variant of resumeDunning for invoice with params. -
resumeDunning
- Throws:
ChargebeeException
-
resumeDunningAsync
Async variant of resumeDunning for invoice without params. -
recordTaxWithheld
public InvoiceRecordTaxWithheldResponse recordTaxWithheld(String invoiceId, InvoiceRecordTaxWithheldParams params) throws ChargebeeException - Throws:
ChargebeeException
-
recordTaxWithheldAsync
public CompletableFuture<InvoiceRecordTaxWithheldResponse> recordTaxWithheldAsync(String invoiceId, InvoiceRecordTaxWithheldParams params) Async variant of recordTaxWithheld for invoice with params. -
recordTaxWithheld
public InvoiceRecordTaxWithheldResponse recordTaxWithheld(String invoiceId) throws ChargebeeException - Throws:
ChargebeeException
-
recordTaxWithheldAsync
Async variant of recordTaxWithheld for invoice without params. -
resendEinvoice
- Throws:
ChargebeeException
-
resendEinvoiceAsync
Async variant of resendEinvoice for invoice without params. -
removeTaxWithheld
public InvoiceRemoveTaxWithheldResponse removeTaxWithheld(String invoiceId, InvoiceRemoveTaxWithheldParams params) throws ChargebeeException - Throws:
ChargebeeException
-
removeTaxWithheldAsync
public CompletableFuture<InvoiceRemoveTaxWithheldResponse> removeTaxWithheldAsync(String invoiceId, InvoiceRemoveTaxWithheldParams params) Async variant of removeTaxWithheld for invoice with params. -
removeTaxWithheld
public InvoiceRemoveTaxWithheldResponse removeTaxWithheld(String invoiceId) throws ChargebeeException - Throws:
ChargebeeException
-
removeTaxWithheldAsync
Async variant of removeTaxWithheld for invoice without params. -
listPaymentReferenceNumbers
public InvoiceListPaymentReferenceNumbersResponse listPaymentReferenceNumbers(InvoiceListPaymentReferenceNumbersParams params) throws ChargebeeException - Throws:
ChargebeeException
-
listPaymentReferenceNumbersAsync
public CompletableFuture<InvoiceListPaymentReferenceNumbersResponse> listPaymentReferenceNumbersAsync(InvoiceListPaymentReferenceNumbersParams params) Async variant of listPaymentReferenceNumbers for invoice with params. -
listPaymentReferenceNumbers
public InvoiceListPaymentReferenceNumbersResponse listPaymentReferenceNumbers() throws ChargebeeException- Throws:
ChargebeeException
-
listPaymentReferenceNumbersAsync
public CompletableFuture<InvoiceListPaymentReferenceNumbersResponse> listPaymentReferenceNumbersAsync()Async variant of listPaymentReferenceNumbers for invoice without params. -
collectPayment
public InvoiceCollectPaymentResponse collectPayment(String invoiceId, InvoiceCollectPaymentParams params) throws ChargebeeException - Throws:
ChargebeeException
-
collectPaymentAsync
public CompletableFuture<InvoiceCollectPaymentResponse> collectPaymentAsync(String invoiceId, InvoiceCollectPaymentParams params) Async variant of collectPayment for invoice with params. -
collectPayment
- Throws:
ChargebeeException
-
collectPaymentAsync
Async variant of collectPayment for invoice without params. -
syncUsages
- Throws:
ChargebeeException
-
syncUsagesAsync
Async variant of syncUsages for invoice without params. -
refund
public InvoiceRefundResponse refund(String invoiceId, InvoiceRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
refundAsync
public CompletableFuture<InvoiceRefundResponse> refundAsync(String invoiceId, InvoiceRefundParams params) Async variant of refund for invoice with params. -
refund
- Throws:
ChargebeeException
-
refundAsync
Async variant of refund for invoice without params. -
recordRefund
public InvoiceRecordRefundResponse recordRefund(String invoiceId, InvoiceRecordRefundParams params) throws ChargebeeException - Throws:
ChargebeeException
-
recordRefundAsync
public CompletableFuture<InvoiceRecordRefundResponse> recordRefundAsync(String invoiceId, InvoiceRecordRefundParams params) Async variant of recordRefund for invoice with params. -
recordRefund
- Throws:
ChargebeeException
-
recordRefundAsync
Async variant of recordRefund for invoice without params. -
pdf
- Throws:
ChargebeeException
-
pdfAsync
Async variant of pdf for invoice with params. -
pdf
- Throws:
ChargebeeException
-
pdfAsync
Async variant of pdf for invoice without params. -
invoicesForSubscription
public InvoicesForSubscriptionResponse invoicesForSubscription(String subscriptionId, InvoicesForSubscriptionParams params) throws ChargebeeException - Throws:
ChargebeeException
-
invoicesForSubscription
public InvoicesForSubscriptionResponse invoicesForSubscription(String subscriptionId) throws ChargebeeException - Throws:
ChargebeeException
-
invoicesForSubscriptionAsync
public CompletableFuture<InvoicesForSubscriptionResponse> invoicesForSubscriptionAsync(String subscriptionId, InvoicesForSubscriptionParams params) Async variant of invoicesForSubscription for invoice with params. -
invoicesForSubscriptionAsync
public CompletableFuture<InvoicesForSubscriptionResponse> invoicesForSubscriptionAsync(String subscriptionId) Async variant of invoicesForSubscription for invoice without params. -
downloadEinvoice
- Throws:
ChargebeeException
-
downloadEinvoiceAsync
Async variant of downloadEinvoice for invoice without params. -
chargeAddon
public InvoiceChargeAddonResponse chargeAddon(InvoiceChargeAddonParams params) throws ChargebeeException - Throws:
ChargebeeException
-
chargeAddonAsync
public CompletableFuture<InvoiceChargeAddonResponse> chargeAddonAsync(InvoiceChargeAddonParams params) Async variant of chargeAddon for invoice with params. -
addAddonCharge
public InvoiceAddAddonChargeResponse addAddonCharge(String invoiceId, InvoiceAddAddonChargeParams params) throws ChargebeeException - Throws:
ChargebeeException
-
addAddonChargeAsync
public CompletableFuture<InvoiceAddAddonChargeResponse> addAddonChargeAsync(String invoiceId, InvoiceAddAddonChargeParams params) Async variant of addAddonCharge for invoice with params. -
charge
- Throws:
ChargebeeException
-
chargeAsync
Async variant of charge for invoice with params.
-