Service class to execute CRUD operations on the Invoice object.
Method Summary
Modifier and Type | Method and Description |
---|---|
InvoiceService | getInstance() |
InvoiceService | getInstance(String version) |
void | getApiResponse() |
List<Invoice> | get(SearchRequest sr) |
Method Detail
This class supports the following methods:
global static InvoiceService getInstance()
Get Instance of InvoiceService.
global static InvoiceService getInstance(String version)
Get Instance of InvoiceVersionedService.
Parameters
Name | Type | Description |
---|---|---|
version | String | undefined |
global InvoiceService ()
InvoiceService Constructor that should not be called directly.
global static void getApiResponse()
global virtual List<Invoice> get(SearchRequest sr)
Get list of Invoice objects using the SearchRequest object as criteria
Parameters
Name | Type | Description |
---|---|---|
sr | SearchRequest | SearchRequest |