PHP 클래스 SevenShores\Hubspot\Resources\ContactProperties

상속: extends Resource
파일 보기 프로젝트 열기: fungku/hubspot-php

공개 메소드들

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