Ctct\Services\CampaignScheduleService
Performs all actions pertaining to scheduling Constant Contact Campaigns
- Author: Constant Contact
Synopsis
class CampaignScheduleService
extends BaseService
{
- // Inherited members from BaseService
- public $restClient $restClient;
- protected $apiKey;
- // methods
- public Campaign addSchedule()
- public array getSchedules()
- public Schedule getSchedule()
- public Schedule updateSchedule()
- public Schedule deleteSchedule()
- public TestSend sendTest()
- // Inherited methods from BaseService
- public void __construct()
- public string buildUrl()
- public RestClientInterface getRestClient()
- public void setRestClient()
- protected static array getHeaders()
Hierarchy
Extends
Members
protected
- $apiKey
—
string
ApiKey for the application
public
- $restClient
—
Ctct\Services\$restClient
RestClient Implementation to use for HTTP requests
Methods
public
- addSchedule() — Create a new schedule for a campaign
- deleteSchedule() — Get a specific schedule for a campaign
- getSchedule() — Get a specific schedule for a campaign
- getSchedules() — Get a list of schedules for a campaign
- sendTest() — Send a test send of a campaign
- updateSchedule() — Update a specific schedule for a campaign
Inherited from Ctct\Services\BaseService
protected
- getHeaders() — Helper function to return required headers for making an http request with constant contact
public
- buildUrl() — Build a url from the base url and query parameters array
- getRestClient() — Get the rest client being used by the service
- setRestClient()