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

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

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

Метод Описание
all ( ) : Response Returns all of the company properties, including their definition.
create ( array $property ) : Response Creates a property on every company object to store a specific piece of data.
createGroup ( array $group ) : Response Create a new company property group to gather like company-level data.
delete ( string $propertyName ) : Response For a portal, delete an existing company property.
deleteGroup ( string $groupName ) : Response Delete an existing company property group.
get ( string $propertyName ) : Response Returns a JSON object representing the definition for a given company property.
getAllGroups ( boolean $includeProperties = false ) : Response Returns all of the company property groups for a given portal.
update ( string $propertyName, array $property ) : Response Update the specified company-level property. This does not update the value on a specified company, but instead changes the definition of the company property.
updateGroup ( string $groupName, array $group ) : Response Update a previously created company property group.

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

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

Returns all of the company properties, including their definition.
См. также: http://developers.hubspot.com/docs/methods/companies/get_company_properties
public all ( ) : Response
Результат SevenShores\Hubspot\Http\Response

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

Creates a property on every company object to store a specific piece of data.
См. также: http://developers.hubspot.com/docs/methods/companies/create_company_property
public create ( array $property ) : Response
$property array
Результат SevenShores\Hubspot\Http\Response

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

Create a new company property group to gather like company-level data.
См. также: http://developers.hubspot.com/docs/methods/companies/create_company_property_group
public createGroup ( array $group ) : Response
$group array Defines the group and any properties within it.
Результат SevenShores\Hubspot\Http\Response

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

For a portal, delete an existing company property.
См. также: http://developers.hubspot.com/docs/methods/companies/delete_company_property
public delete ( string $propertyName ) : Response
$propertyName string The API name of the property that you will be deleting.
Результат SevenShores\Hubspot\Http\Response

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

Delete an existing company property group.
См. также: http://developers.hubspot.com/docs/methods/companies/delete_company_property_group
public deleteGroup ( string $groupName ) : Response
$groupName string The API name of the property group that you will be deleting.
Результат SevenShores\Hubspot\Http\Response

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

Returns a JSON object representing the definition for a given company property.
См. также: http://developers.hubspot.com/docs/methods/companies/get_company_property
public get ( string $propertyName ) : Response
$propertyName string The API name of the property that you wish to see metadata for.
Результат SevenShores\Hubspot\Http\Response

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

Returns all of the company property groups for a given portal.
См. также: http://developers.hubspot.com/docs/methods/companies/get_company_property_groups
public getAllGroups ( boolean $includeProperties = false ) : Response
$includeProperties boolean If true returns all of the properties for each company property group.
Результат SevenShores\Hubspot\Http\Response

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

Update the specified company-level property. This does not update the value on a specified company, but instead changes the definition of the company property.
См. также: http://developers.hubspot.com/docs/methods/companies/update_company_property
public update ( string $propertyName, array $property ) : Response
$propertyName string
$property array
Результат SevenShores\Hubspot\Http\Response

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

Update a previously created company property group.
См. также: http://developers.hubspot.com/docs/methods/companies/update_company_property_group
public updateGroup ( string $groupName, array $group ) : Response
$groupName string The API name of the property group that you will be updating.
$group array Defines the property group and any properties within it.
Результат SevenShores\Hubspot\Http\Response