123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\Generic;
- /**
- * Temando API Monetary Value Field
- *
- * @package Temando\Shipping\Rest
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link https://www.temando.com/
- */
- class MonetaryValue
- {
- /**
- * @var float
- */
- private $amount;
- /**
- * @var string
- */
- private $currency;
- /**
- * @return float
- */
- public function getAmount()
- {
- return $this->amount;
- }
- /**
- * @param float $amount
- * @return void
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- }
- /**
- * @return string
- */
- public function getCurrency()
- {
- return $this->currency;
- }
- /**
- * @param string $currency
- * @return void
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- }
- }
|