PHP Class SevenShores\Hubspot\Resources\Email

Inheritance: extends Resource
Mostrar archivo Open project: fungku/hubspot-php

Public Methods

Method Description
subscriptionStatus ( integer $portal_id, string $email ) : Response Get email subscription status for an email address.
subscriptions ( integer $portal_id ) : Response Get email subscription types for a portal.
subscriptionsTimeline ( array $params = [] ) : Response View subscriptions timeline for a portal.
updateSubscription ( integer $portal_id, string $email, array $params = [] ) : Response Update email subscription status for an email address.

Method Details

subscriptionStatus() public method

Get email subscription status for an email address.
public subscriptionStatus ( integer $portal_id, string $email ) : Response
$portal_id integer
$email string
return SevenShores\Hubspot\Http\Response

subscriptions() public method

Get email subscription types for a portal.
public subscriptions ( integer $portal_id ) : Response
$portal_id integer
return SevenShores\Hubspot\Http\Response

subscriptionsTimeline() public method

View subscriptions timeline for a portal.
public subscriptionsTimeline ( array $params = [] ) : Response
$params array Optional parameters
return SevenShores\Hubspot\Http\Response

updateSubscription() public method

Update email subscription status for an email address.
public updateSubscription ( integer $portal_id, string $email, array $params = [] ) : Response
$portal_id integer
$email string
$params array
return SevenShores\Hubspot\Http\Response