public function setPrice(MoneyInterface $amount) { $this->priceAmount = $amount->getAmount(); $this->priceCurrency = $amount->getCurrency(); return $this; }