You are here

public function SendinblueApiV3::getAccount in SendinBlue 7.2

Get the details of an account.

Return value

GetAccount An array of account detail.

Overrides SendInBlueApiInterface::getAccount

File

includes/Api/SendinblueApiV3.php, line 142

Class

SendinblueApiV3
Sendinblue REST client.

Code

public function getAccount() {
  $account = $this->sibAccountApi
    ->getAccount();
  return new GetAccount(drupal_json_decode($account));
}