jolicode / harvest-php-api

🌾 A Harvest API PHP Client
MIT License
22 stars 6 forks source link

Call to undefined method JoliCode\Harvest\Api\Endpoint\CreateInvoice::getSerializedBody() #18

Closed justinmccombs closed 4 years ago

justinmccombs commented 4 years ago

Steps to reproduce:

$payload = new InvoicePostBody(); $payload->setClientId($clientId); $invoice = $client->createInvoice($postBody);

xavierlacot commented 4 years ago

Hi @laravelian,

Thanks for the feedback. The problem has been fixed in the recent 4.0.1 release, through the upgrade of the janephp dependency. I also added an invoice creation example.