response = $response; } /** * Returns the Account Id of the player * * @return string */ public function getId() { return $this->getValueByKey($this->response, 'accountId'); } /** * Returns the Nickname of the Player * * @return string */ public function getDisplayName() { return $this->getValueByKey($this->response, 'displayName'); } /** * Return all of the owner details available as an array. * * @return array */ public function toArray() { return $this->response; } }