attributes['serverinfo_uid'] ?? null; } public function getPartUID(): int|null { return $this->attributes['part_uid'] ?? null; } final public function getClientInfoUID(): int|null { return $this->attributes['clientinfo_uid'] ?? null; } final public function getServiceInfoUID(): int|null { return $this->attributes['serviceinfo_uid'] ?? null; } //기본기능용 public function getCalculatedAmount(): int { return $this->getAmount() * $this->getCnt(); } public function getType(): string { return $this->attributes['type']; } public function getBilling(): string { return $this->attributes['billing']; } public function getBillingAt(): string { return $this->attributes['billing_at']; } public function getAmount(): int { return $this->attributes['amount']; } public function getCnt(): int { return $this->attributes['cnt']; } public function getExtra(): string|null { return $this->attributes['extra']; } }