/**
  * Get verified addresses for the account
  * @param string $accessToken - Constant Contact OAuth2 access token
  * @param string $status - Status to filter query results by
  * @return array of VerifiedEmailAddress objects
  */
 public function getVerifiedEmailAddresses($accessToken, $status = null)
 {
     $params = array();
     if ($status) {
         $params['status'] = $status;
     }
     return $this->accountService->getVerifiedEmailAddresses($accessToken, $params);
 }
コード例 #2
0
 /**
  * Get details for account associated with an access token
  * @param string $accessToken - Constant Contact OAuth2 access token
  * @return AccountInfo object
  */
 public function getAccountInfo($accessToken, array $params = array())
 {
     return $this->accountService->getAccountInfo($accessToken, $params);
 }
コード例 #3
0
 /**
  * Update information of the account.
  * @param string $accessToken - Constant Contact OAuth2 Access Token
  * @param AccountInfo $accountInfo - Updated AccountInfo
  * @return AccountInfo
  */
 public function updateAccountInfo($accessToken, $accountInfo)
 {
     return $this->accountService->updateAccountInfo($accessToken, $accountInfo);
 }