PHP 클래스 SevenShores\Hubspot\Resources\CompanyProperties

상속: extends Resource
파일 보기 프로젝트 열기: fungku/hubspot-php 1 사용 예제들

공개 메소드들

메소드 설명
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