| 1 | <?php declare(strict_types=1); |
||
| 31 | class MediaPrice |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * @var int |
||
| 35 | */ |
||
| 36 | protected $type; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var float |
||
| 40 | */ |
||
| 41 | protected $value; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | protected $currency; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param int $type |
||
| 50 | * @return MediaPrice |
||
| 51 | */ |
||
| 52 | 2 | public function setType(? int $type) : MediaPrice |
|
| 57 | |||
| 58 | 2 | public function getType() : ? int |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @param float $value |
||
| 65 | * @return MediaPrice |
||
| 66 | */ |
||
| 67 | 2 | public function setValue(? float $value) : MediaPrice |
|
| 72 | |||
| 73 | 2 | public function getValue() : ? float |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @param string|null currency |
||
| 80 | * @return MediaPrice |
||
| 81 | */ |
||
| 82 | 2 | public function setCurrency(? string $currency) : MediaPrice |
|
| 87 | |||
| 88 | 2 | public function getCurrency() : ? string |
|
| 92 | } |
||
| 93 |