attributes['userEntity'] = $entity; return $this; } public function getUSerEntity(): UserEntity { return $this->attributes['userEntity']; } public function setClientEntity(UserEntity $entity): ServiceEntity { $this->attributes['clientEntity'] = $entity; return $this; } public function getClientEntity(): ClientEntity { return $this->attributes['clientEntity']; } public function setServerEntity(ServerEntity $entity): ServiceEntity { $this->attributes['serverEntity'] = $entity; return $this; } public function getServerEntity(): ServerEntity { return $this->attributes['serverEntity']; } final public function getSite(): string { return $this->attributes['site'] ?? ""; } public function getType(): string { return $this->attributes['type'] ?? ""; } final public function getLocation(): string { return $this->attributes['location'] ?? ""; } final public function getBillingAt(): string { return $this->attributes['billing_at'] ?? ""; } final public function getAmount(): int { return $this->attributes['amount'] ?? 0; } public function getHistory(): string { return $this->attributes['history'] ?? ""; } }