$client
$client : \EventsForce\Client
Stores an instance of the client for resources to Access
Class for handling invoices resource Api docs: http://docs.eventsforce.apiary.io/#reference/invoices
$client : \EventsForce\Client
Stores an instance of the client for resources to Access
__construct(\EventsForce\Client $client)
BaseResource constructor.
\EventsForce\Client | $client |
getAll(integer $invoiceNumberAfter) : \Psr\Http\Message\StreamInterface
Method to get all Invoices Api Docs: http://docs.eventsforce.apiary.io/#reference/invoices/invoicesjsoninvoicenumberafter/get
integer | $invoiceNumberAfter |
|
get(boolean $invoice_id = false) : \Psr\Http\Message\StreamInterface
Method to get a single invoice Api docs: http://docs.eventsforce.apiary.io/#reference/invoices/invoicesinvoicenumberjson/get
boolean | $invoice_id |
update(boolean $invoice_id = false, array $data = array()) : \Psr\Http\Message\StreamInterface
Method to update an invoice with passed in data Api docs: http://docs.eventsforce.apiary.io/#reference/invoices/invoicesinvoicenumberjson/post
boolean | $invoice_id | |
array | $data |
updateExternalRef(boolean $invoice_id = false, boolean $external_reference = false) : \Psr\Http\Message\StreamInterface
Helper method that updates an invoice only on the external reference field Api docs: http://docs.eventsforce.apiary.io/#reference/invoices/invoicesinvoicenumberjson/post
boolean | $invoice_id | |
boolean | $external_reference |