SevenShores\Hubspot\Resources\ContactProperties::all PHP Method

all() public method

Properties in HubSpot are fields that have been created, in this case for deals in a given portal. This endpoint will return all of the contacts properties, including their definition, for a given portal.
See also: http://developers.hubspot.com/docs/methods/contacts/v2/get_contacts_properties
public all ( ) : Response
return SevenShores\Hubspot\Http\Response
    function all()
    {
        $endpoint = 'https://api.hubapi.com/contacts/v2/properties';
        return $this->client->request('get', $endpoint);
    }