Samples for All Invoice Operations including QR Code

- Invoice search method is static now
- Shipping Info has proper Phone Params
- Small Changes to Image Class
- Updated Sample Docs
This commit is contained in:
japatel
2014-11-19 12:15:35 -06:00
parent 383d12622b
commit eb6eb47336
24 changed files with 711 additions and 884 deletions

View File

@@ -102,10 +102,10 @@ try {
// with a valid ApiContext (See bootstrap.php for more on `ApiContext`)
$invoice->create($apiContext);
} catch (Exception $ex) {
ResultPrinter::printError("Invoice Creation", "Invoice", null, $request, $ex);
ResultPrinter::printError("Create Invoice", "Invoice", null, $request, $ex);
exit(1);
}
ResultPrinter::printResult("Invoice Creation", "Invoice", $invoice->getId(), $request, $invoice);
ResultPrinter::printResult("Create Invoice", "Invoice", $invoice->getId(), $request, $invoice);
return $invoice;