public function currency() : string { return mb_strtoupper($this->currency); }
/** * @param Price $price * * @return bool */ public function hasSameCurrency(Price $price) : bool { return $price->currency() === $this->currency(); }