Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create the connection to QuickBooks
- $API = new QuickBooks_API(...);
- // Build the Customer object
- $Customer = new QuickBooks_Object_Customer();
- $Customer->setName($name);
- $Customer->setShipAddress('134 Stonemill Road', '', '', '', '', 'Storrs', 'CT', '', '06268');
- // Send the request to QuickBooks
- $API->addCustomer($Customer, '_add_customer_callback', 15);
- // The framework also supports processing raw qbXML requests
- $API->qbxml('
- <CustomerQueryRq>
- <FullName>Keith Palmer Jr.</FullName>
- </CustomerQueryRq>', '_raw_qbxml_callback');
Add Comment
Please, Sign In to add comment