PHP Класс SevenShores\Hubspot\Resources\ContactProperties

Наследование: extends Resource
Показать файл Открыть проект

Открытые методы

Метод Описание
all ( ) : Response Get all Contact properties.
create ( array $property ) : Response Create a contact property.
createGroup ( array $group ) : Response Create a contact property group.
delete ( string $name ) : Response Delete a contact property.
deleteGroup ( string $name ) : Response Delete a property group.
get ( string $name ) : Response Get a Contact Property.
getGroups ( boolean $includeProperties = false ) : Response Get contact property groups.
update ( string $name, array $property ) : Response Update a contact property.
updateGroup ( string $name, array $group ) : Response Update a property group.

Описание методов

all() публичный Метод

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.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/get_contacts_properties
public all ( ) : Response
Результат SevenShores\Hubspot\Http\Response

create() публичный Метод

Create a property on every contact object to store a specific piece of data. In the example below, we want to store an invoice number on a separate field on deals.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property
public create ( array $property ) : Response
$property array
Результат SevenShores\Hubspot\Http\Response

createGroup() публичный Метод

Create a new contact property group to gather like contact-level data. Property groups allow you to more easily manage properties in a given portal and make contact records easier to parse for the user.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/create_contacts_property_group
public createGroup ( array $group ) : Response
$group array Group properties
Результат SevenShores\Hubspot\Http\Response

delete() публичный Метод

For a portal, delete an existing contact property.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property
public delete ( string $name ) : Response
$name string
Результат SevenShores\Hubspot\Http\Response

deleteGroup() публичный Метод

Delete an existing contact property group.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property_group
public deleteGroup ( string $name ) : Response
$name string
Результат SevenShores\Hubspot\Http\Response

get() публичный Метод

Returns a JSON object representing the definition for a given contact property.
См. также: http://developers.hubspot.com/docs/methods/companies/get_contact_property
public get ( string $name ) : Response
$name string The name of the property.
Результат SevenShores\Hubspot\Http\Response

getGroups() публичный Метод

Returns all of the contact property groups for a given portal.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/get_contact_property_groups
public getGroups ( boolean $includeProperties = false ) : Response
$includeProperties boolean
Результат SevenShores\Hubspot\Http\Response

update() публичный Метод

Update a specified contact property.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property
public update ( string $name, array $property ) : Response
$name string
$property array
Результат SevenShores\Hubspot\Http\Response

updateGroup() публичный Метод

Update a previously created contact property group.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property_group
public updateGroup ( string $name, array $group ) : Response
$name string
$group array
Результат SevenShores\Hubspot\Http\Response