diff --git a/src/Feed/Model/Google/Shopping/Price.php b/src/Feed/Model/Google/Shopping/Price.php index 0ace599..e4d982c 100644 --- a/src/Feed/Model/Google/Shopping/Price.php +++ b/src/Feed/Model/Google/Shopping/Price.php @@ -29,6 +29,16 @@ public function __toString(): string return round($this->amount / 100, 2) . ' ' . $this->currency; } + public function getAmount(): int + { + return $this->amount; + } + + public function getCurrency(): string + { + return $this->currency; + } + public function jsonSerialize(): string { return (string) $this;