client-php
client-php copied to clipboard
getProductfields fails
Unnecessary use json mapper. It fails.
$mapper->mapClass($response->body, 'Pipedrive\\Models\\GetAllProductFieldsResponse')
Use this:
CamelCaseHelper::keysToCamelCase($response->body);