ClientexecInvoices
Generic Clientexec Invoices Migrator.
Table of Contents
Methods
| __construct() | ClientexecInvoices constructor. |
| get() | Get all invoices. |
| getInvoice() | Get the specific invoice. |
| getInvoiceCurrency() | Get the currency from an specific invoice. |
| getInvoiceLines() | Get all invoice lines from an specific invoice. |
| getInvoiceTransactions() | Get all transactions from an specific invoice. |
Methods
__construct()
ClientexecInvoices constructor.
public
__construct(Record $remote) : mixed
Parameters
- $remote : Record
get()
Get all invoices.
public
get() : mixed
Return values
mixed —The result of the sql transaction
getInvoice()
Get the specific invoice.
public
getInvoice(int $invoice_id) : mixed
Parameters
- $invoice_id : int
Return values
mixed —The result of the sql transaction
getInvoiceCurrency()
Get the currency from an specific invoice.
public
getInvoiceCurrency(int $invoice_id) : mixed
Parameters
- $invoice_id : int
Return values
mixed —The result of the sql transaction
getInvoiceLines()
Get all invoice lines from an specific invoice.
public
getInvoiceLines(int $invoice_id) : mixed
Parameters
- $invoice_id : int
Return values
mixed —The result of the sql transaction
getInvoiceTransactions()
Get all transactions from an specific invoice.
public
getInvoiceTransactions(int $invoice_id) : mixed
Parameters
- $invoice_id : int
Return values
mixed —The result of the sql transaction