public class InvoicesApi extends Object
| Constructor and Description |
|---|
InvoicesApi() |
InvoicesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
InvoicingV2InvoicesPost201Response |
createInvoice(CreateInvoiceRequest createInvoiceRequest)
Create a New Invoice
The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device.
|
okhttp3.Call |
createInvoiceAsync(CreateInvoiceRequest createInvoiceRequest,
ApiCallback<InvoicingV2InvoicesPost201Response> callback)
Create a New Invoice (asynchronously)
The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device.
|
okhttp3.Call |
createInvoiceCall(CreateInvoiceRequest createInvoiceRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createInvoice
|
ApiResponse<InvoicingV2InvoicesPost201Response> |
createInvoiceWithHttpInfo(CreateInvoiceRequest createInvoiceRequest)
Create a New Invoice
The invoicing product enables you to bill any customer with an email address and accept digital payments securely from any connected device.
|
InvoicingV2InvoicesAllGet200Response |
getAllInvoices(Integer offset,
Integer limit,
String status)
Get a List of Invoices
Provides a (filtered) list of invoices that have been created in your account.
|
okhttp3.Call |
getAllInvoicesAsync(Integer offset,
Integer limit,
String status,
ApiCallback<InvoicingV2InvoicesAllGet200Response> callback)
Get a List of Invoices (asynchronously)
Provides a (filtered) list of invoices that have been created in your account.
|
okhttp3.Call |
getAllInvoicesCall(Integer offset,
Integer limit,
String status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllInvoices
|
ApiResponse<InvoicingV2InvoicesAllGet200Response> |
getAllInvoicesWithHttpInfo(Integer offset,
Integer limit,
String status)
Get a List of Invoices
Provides a (filtered) list of invoices that have been created in your account.
|
ApiClient |
getApiClient() |
InvoicingV2InvoicesGet200Response |
getInvoice(String id)
Get Invoice Details
You can retrieve details of a specific invoice.
|
okhttp3.Call |
getInvoiceAsync(String id,
ApiCallback<InvoicingV2InvoicesGet200Response> callback)
Get Invoice Details (asynchronously)
You can retrieve details of a specific invoice.
|
okhttp3.Call |
getInvoiceCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getInvoice
|
ApiResponse<InvoicingV2InvoicesGet200Response> |
getInvoiceWithHttpInfo(String id)
Get Invoice Details
You can retrieve details of a specific invoice.
|
InvoicingV2InvoicesCancel200Response |
performCancelAction(String id)
Cancel an Invoice
You can cancel an invoice if no payment is made to it.
|
okhttp3.Call |
performCancelActionAsync(String id,
ApiCallback<InvoicingV2InvoicesCancel200Response> callback)
Cancel an Invoice (asynchronously)
You can cancel an invoice if no payment is made to it.
|
okhttp3.Call |
performCancelActionCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for performCancelAction
|
ApiResponse<InvoicingV2InvoicesCancel200Response> |
performCancelActionWithHttpInfo(String id)
Cancel an Invoice
You can cancel an invoice if no payment is made to it.
|
InvoicingV2InvoicesSend200Response |
performSendAction(String id)
Send an Invoice
You can send an invoice in draft or created state or resend a sent or partially paid invoice.
|
okhttp3.Call |
performSendActionAsync(String id,
ApiCallback<InvoicingV2InvoicesSend200Response> callback)
Send an Invoice (asynchronously)
You can send an invoice in draft or created state or resend a sent or partially paid invoice.
|
okhttp3.Call |
performSendActionCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for performSendAction
|
ApiResponse<InvoicingV2InvoicesSend200Response> |
performSendActionWithHttpInfo(String id)
Send an Invoice
You can send an invoice in draft or created state or resend a sent or partially paid invoice.
|
void |
setApiClient(ApiClient apiClient) |
InvoicingV2InvoicesPut200Response |
updateInvoice(String id,
UpdateInvoiceRequest updateInvoiceRequest)
Update an Invoice
You can update all information except the invoice number till any payment is received for an invoice.
|
okhttp3.Call |
updateInvoiceAsync(String id,
UpdateInvoiceRequest updateInvoiceRequest,
ApiCallback<InvoicingV2InvoicesPut200Response> callback)
Update an Invoice (asynchronously)
You can update all information except the invoice number till any payment is received for an invoice.
|
okhttp3.Call |
updateInvoiceCall(String id,
UpdateInvoiceRequest updateInvoiceRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateInvoice
|
ApiResponse<InvoicingV2InvoicesPut200Response> |
updateInvoiceWithHttpInfo(String id,
UpdateInvoiceRequest updateInvoiceRequest)
Update an Invoice
You can update all information except the invoice number till any payment is received for an invoice.
|
public InvoicesApi()
public InvoicesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createInvoiceCall(CreateInvoiceRequest createInvoiceRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createInvoiceRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesPost201Response createInvoice(CreateInvoiceRequest createInvoiceRequest) throws ApiException
createInvoiceRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesPost201Response> createInvoiceWithHttpInfo(CreateInvoiceRequest createInvoiceRequest) throws ApiException
createInvoiceRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createInvoiceAsync(CreateInvoiceRequest createInvoiceRequest, ApiCallback<InvoicingV2InvoicesPost201Response> callback) throws ApiException
createInvoiceRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAllInvoicesCall(Integer offset, Integer limit, String status, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. (required)status - The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesAllGet200Response getAllInvoices(Integer offset, Integer limit, String status) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. (required)status - The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesAllGet200Response> getAllInvoicesWithHttpInfo(Integer offset, Integer limit, String status) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. (required)status - The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllInvoicesAsync(Integer offset, Integer limit, String status, ApiCallback<InvoicingV2InvoicesAllGet200Response> callback) throws ApiException
offset - Page offset number. (required)limit - Maximum number of items you would like returned. (required)status - The status of the invoice. Possible values: - DRAFT - CREATED - SENT - PARTIAL - PAID - CANCELED (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getInvoiceCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The invoice number. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesGet200Response getInvoice(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesGet200Response> getInvoiceWithHttpInfo(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getInvoiceAsync(String id, ApiCallback<InvoicingV2InvoicesGet200Response> callback) throws ApiException
id - The invoice number. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call performCancelActionCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The invoice number. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesCancel200Response performCancelAction(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesCancel200Response> performCancelActionWithHttpInfo(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call performCancelActionAsync(String id, ApiCallback<InvoicingV2InvoicesCancel200Response> callback) throws ApiException
id - The invoice number. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call performSendActionCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The invoice number. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesSend200Response performSendAction(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesSend200Response> performSendActionWithHttpInfo(String id) throws ApiException
id - The invoice number. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call performSendActionAsync(String id, ApiCallback<InvoicingV2InvoicesSend200Response> callback) throws ApiException
id - The invoice number. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateInvoiceCall(String id, UpdateInvoiceRequest updateInvoiceRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The invoice number. (required)updateInvoiceRequest - Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InvoicingV2InvoicesPut200Response updateInvoice(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException
id - The invoice number. (required)updateInvoiceRequest - Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InvoicingV2InvoicesPut200Response> updateInvoiceWithHttpInfo(String id, UpdateInvoiceRequest updateInvoiceRequest) throws ApiException
id - The invoice number. (required)updateInvoiceRequest - Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateInvoiceAsync(String id, UpdateInvoiceRequest updateInvoiceRequest, ApiCallback<InvoicingV2InvoicesPut200Response> callback) throws ApiException
id - The invoice number. (required)updateInvoiceRequest - Updating the invoice does not resend the invoice automatically. You must resend the invoice separately. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2025. All rights reserved.