Minor Fixes to Sample

This commit is contained in:
Jay Patel
2015-03-16 12:31:51 -05:00
parent 124c122fff
commit 104fad61bb
4 changed files with 196 additions and 299 deletions

View File

@@ -58,6 +58,17 @@ $billing = $invoice->getBillingInfo();
$billing[0]
->setEmail("example@example.com");
$billing[0]->setBusinessName("Jay Inc")
->setAdditionalInfo("This is the billing Info")
->setAddress(new InvoiceAddress());
$billing[0]->getAddress()
->setLine1("1234 Main St.")
->setCity("Portland")
->setState("OR")
->setPostalCode("97217")
->setCountryCode("US");
// ### Items List
// You could provide the list of all items for
// detailed breakdown of invoice