|
Callback
|
createCallback(String sourceToken, Callback callback)
Create a new callback for a specific event or a set of events.
|
|
Category
|
createCategory(String sourceToken, Category category)
Create a new category.
|
|
Client
|
createClient(String sourceToken, Client client)
Create a new client and return the corresponding client_id.
|
|
Invoice
|
createInvoice(String sourceToken, Invoice invoice)
Create a new invoice complete with line items.
|
|
Item
|
createItem(String sourceToken, Item item)
Create a new item and return the corresponding item_id.
|
|
Payment
|
createPayment(String sourceToken, Payment payment)
Create a new payment and returns the corresponding payment_id.
|
|
Session
|
createSession(String sourceToken, Session session)
Create a session
|
|
SystemUser
|
createSystemUser(String sourceToken, SystemUser systemUser)
Create a system user
|
|
Tax
|
createTax(String sourceToken, Tax tax)
Create a new tax and returns the corresponding tax_id.
|
|
void
|
deleteCallback(String sourceToken, Callback callback)
Deletes a callback.
|
|
void
|
deleteCategory(String sourceToken, Category category)
Delete an existing expense category.
|
|
void
|
deleteClient(String sourceToken, Client client)
Delete the client with the given client_id.
|
|
void
|
deleteInvoice(String sourceToken, Invoice invoice)
Delete an existing invoice.
|
|
void
|
deleteItem(String sourceToken, Item item)
Delete an existing item.
|
|
void
|
deletePayment(String sourceToken, Payment payment)
Permanently delete a payment.
|
|
void
|
deleteTax(String sourceToken, Tax tax)
Permanently delete a tax.
|
|
String
|
getApiUrl()
|
|
String
|
getAuthenticationToken()
|
|
Category
|
getCategory(String sourceToken, String categoryId)
Return the complete category details associated with the given category_id.
|
|
Client
|
getClient(String sourceToken, String clientId)
Return the client details associated with the given client_id.
|
|
Staff
|
getCurrentUserInformation(String sourceToken)
Returns information about the current user
|
|
Invoice
|
getInvoice(String sourceToken, String invoiceId)
Return the complete invoice details associated with the given invoice_id.
|
|
Item
|
getItem(String sourceToken, String itemId)
Get an existing item with the given item_id.
|
|
Payment
|
getPayment(String sourceToken, String paymentId)
Retrieve payment details according to payment_id.
|
|
Tax
|
getTax(String sourceToken, String taxId)
Retrieve tax details according to tax_id.
|
|
void
|
init()
|
|
Iterable<Callback>
|
listCallbacks(String sourceToken, CallbackRequest callbackRequest)
Return a list of registered callbacks.
|
|
Iterable<Category>
|
listCategories(String sourceToken, CategoryRequest categoryRequest)
Returns a list of expense categories.
|
|
Iterable<Client>
|
listClients(String sourceToken, ClientRequest clientRequest)
Returns a list of client summaries in order of descending client_id.
|
|
Iterable<Invoice>
|
listInvoices(String sourceToken, InvoiceRequest invoiceRequest)
Returns a list of invoice summaries.
|
|
Iterable<Item>
|
listItems(String sourceToken, ItemRequest itemRequest)
Returns a list of items, ordered by descending item_id.
|
|
Iterable<Payment>
|
listPayments(String sourceToken, PaymentRequest paymentRequest)
Returns a list of payment summaries.
|
|
Iterable<Tax>
|
listTaxes(String sourceToken, TaxRequest taxRequest)
Returns a list of taxs, ordered by descending tax_id.
|
|
void
|
setApiUrl(String apiUrl)
|
|
void
|
setAuthenticationToken(String authenticationToken)
|
|
String
|
undeleteClient(String sourceToken, Client client)
Undelete a client
|
|
String
|
undeleteInvoice(String sourceToken, Invoice invoice)
Undelete an invoice
|
|
Category
|
updateCategory(String sourceToken, Category category)
Update an existing expense category with the given category_id.
|
|
Client
|
updateClient(String sourceToken, Client client)
Update the details of the client with the given client_id.
|
|
Invoice
|
updateInvoice(String sourceToken, Invoice invoice)
Update an existing invoice with the given invoice_id.
|
|
Item
|
updateItem(String sourceToken, Item item)
|
|
Payment
|
updatePayment(String sourceToken, Payment payment)
Update an existing payment.
|
|
Tax
|
updateTax(String sourceToken, Tax tax)
|
|
Callback
|
verifyCallback(String sourceToken, Callback callback)
Verify a callback.
|