Class BaseService
Super class for all services
Direct known subclasses
Ctct\Services\AccountService, Ctct\Services\ActivityService, Ctct\Services\CampaignScheduleService, Ctct\Services\CampaignTrackingService, Ctct\Services\ContactService, Ctct\Services\ContactTrackingService, Ctct\Services\EmailMarketingService, Ctct\Services\ListService
Abstract
Namespace: Ctct\Services
Package: Services
Author: Constant Contact
Located at Ctct/Services/BaseService.php
Namespace: Ctct\Services
Package: Services
Author: Constant Contact
Located at Ctct/Services/BaseService.php
public
|
#
__construct( Ctct\Util\RestClientInterface $apiKey, mixed $rest_client = null )
Constructor with the option to to supply an alternative rest client to be used |
public
string
|
|
public static
Ctct\Util\RestClientInterface
|
|
protected static
array
|
#
getHeaders( mixed $accessToken )
Helper function to return required headers for making an http request with constant contact |
public static
mixed
|
$rest_client | |
#
|
protected
string
|
$apiKey | |
#
ApiKey for the application |