createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Output only. Display name of this account. * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * Output only. Resource name of the account. Format: accounts/pub-[0-9]+ * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. Outstanding tasks that need to be completed as part of the * sign-up process for a new account. e.g. "billing-profile-creation", "phone- * pin-verification". * * @param string[] $pendingTasks */ public function setPendingTasks($pendingTasks) { $this->pendingTasks = $pendingTasks; } /** * @return string[] */ public function getPendingTasks() { return $this->pendingTasks; } /** * Output only. Whether this account is premium. Premium accounts have access * to additional spam-related metrics. * * @param bool $premium */ public function setPremium($premium) { $this->premium = $premium; } /** * @return bool */ public function getPremium() { return $this->premium; } /** * Output only. State of the account. * * Accepted values: STATE_UNSPECIFIED, READY, NEEDS_ATTENTION, CLOSED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * The account time zone, as used by reporting. For more information, see * [changing the time zone of your * reports](https://support.google.com/adsense/answer/9830725). * * @param TimeZone $timeZone */ public function setTimeZone(TimeZone $timeZone) { $this->timeZone = $timeZone; } /** * @return TimeZone */ public function getTimeZone() { return $this->timeZone; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Account::class, 'Google_Service_Adsense_Account');