PHP Class SevenShores\Hubspot\Resources\Deals

Inheritance: extends Resource
Afficher le fichier Open project: fungku/hubspot-php Class Usage Examples

Méthodes publiques

Méthode Description
associateWithCompany ( integer $dealId, integer | int[] $companyIds ) : mixed
associateWithContact ( integer $dealId, integer | int[] $contactIds ) : mixed
create ( array $deal ) : mixed
delete ( integer $id ) : mixed
disassociateFromCompany ( integer $dealId, integer | int[] $companyIds ) : mixed
disassociateFromContact ( integer $dealId, integer | int[] $contactIds ) : mixed
getById ( integer $id ) : mixed
getRecentlyCreated ( array $params = [] ) : mixed
getRecentlyModified ( array $params = [] ) : mixed
update ( integer $id, array $deal ) : mixed

Method Details

associateWithCompany() public méthode

public associateWithCompany ( integer $dealId, integer | int[] $companyIds ) : mixed
$dealId integer
$companyIds integer | int[]
Résultat mixed

associateWithContact() public méthode

public associateWithContact ( integer $dealId, integer | int[] $contactIds ) : mixed
$dealId integer
$contactIds integer | int[]
Résultat mixed

create() public méthode

public create ( array $deal ) : mixed
$deal array Array of deal properties.
Résultat mixed

delete() public méthode

public delete ( integer $id ) : mixed
$id integer
Résultat mixed

disassociateFromCompany() public méthode

public disassociateFromCompany ( integer $dealId, integer | int[] $companyIds ) : mixed
$dealId integer
$companyIds integer | int[]
Résultat mixed

disassociateFromContact() public méthode

public disassociateFromContact ( integer $dealId, integer | int[] $contactIds ) : mixed
$dealId integer
$contactIds integer | int[]
Résultat mixed

getById() public méthode

public getById ( integer $id ) : mixed
$id integer
Résultat mixed

getRecentlyCreated() public méthode

public getRecentlyCreated ( array $params = [] ) : mixed
$params array Optional parameters ['limit', 'offset']
Résultat mixed

getRecentlyModified() public méthode

public getRecentlyModified ( array $params = [] ) : mixed
$params array Optional parameters ['limit', 'offset']
Résultat mixed

update() public méthode

public update ( integer $id, array $deal ) : mixed
$id integer The deal id.
$deal array The deal properties to update.
Résultat mixed