attributes['serverEntity'] = $entity; } public function getServerEntity(): ServerEntity|null { if (!array_key_exists('serverEntity', $this->attributes)) { return null; } return $this->attributes['serverEntity']; } public function getCode(): string|null { return $this->attributes['code']; } public function getType(): string { return $this->attributes['type']; } final public function getBillingAt(): string { return $this->attributes['billing_at']; } }