__construct()
delete()
getAll()
getById()
getByIds()
getByInvoiceId()
getByPushMessage()
getPdf()
getSyncList()
registerPayment()
remind()
save()
send()
buildEnvelope()
$connector
Invoice service
__construct(\Moneybird\ApiConnector $connector)
\Moneybird\ApiConnector
delete(\Moneybird\Invoice $invoice) : \Moneybird\self
getAll(string | integer $filter, \Moneybird\Invoice_Subject $parent) : \Moneybird\Invoice_Array
stringinteger
Filter name or id (advanced filters)
\Moneybird\Invoice_Subject
\Moneybird\InvalidFilterException |
---|
getByPushMessage() : \Moneybird\Invoice
When the invoice state changes in Moneybird, your application can be notified Use this method to validate the request and retreive the invoice
access | public |
---|
\Moneybird\InvalidRequestException |
---|
getPdf(\Moneybird\Invoice $invoice) : string
registerPayment(\Moneybird\Invoice $invoice, \Moneybird\Invoice_Payment $payment) : \Moneybird\Invoice
remind(\Moneybird\Invoice $invoice, string $method, \Moneybird\type $email, \Moneybird\type $message) : \Moneybird\Invoice
Returns the updated invoice
\Moneybird\Invoice
string
Send method (email|hand|post); default: email
\Moneybird\type
Address to send to; default: contact e-mail
\Moneybird\type
send(\Moneybird\Invoice $invoice, string $method, \Moneybird\type $email, \Moneybird\type $message) : \Moneybird\Invoice
Returns the updated invoice
\Moneybird\Invoice
string
Send method (email|hand|post); default: email
\Moneybird\type
Address to send to; default: contact e-mail
\Moneybird\type
buildEnvelope(string $method, \Moneybird\type $email, \Moneybird\type $message) : \Moneybird\Invoice_Envelope
access | protected |
---|
string
Send method (email|hand|post); default: email
\Moneybird\type
Address to send to; default: contact e-mail
\Moneybird\type