| @@ -22,5 +22,8 @@ | ||
| 22 | 22 | TimestampableInterface, | 
| 23 | 23 | ResourceInterface | 
| 24 | 24 |  { | 
| 25 | + /** | |
| 26 | + * @return string|null | |
| 27 | + */ | |
| 25 | 28 | public function getName(): ?string; | 
| 26 | 29 | } | 
| @@ -17,15 +17,33 @@ | ||
| 17 | 17 | |
| 18 | 18 | interface ExchangeRateInterface extends ResourceInterface | 
| 19 | 19 |  { | 
| 20 | + /** | |
| 21 | + * @return double|null | |
| 22 | + */ | |
| 20 | 23 | public function getRatio(): ?float; | 
| 21 | 24 | |
| 25 | + /** | |
| 26 | + * @return void | |
| 27 | + */ | |
| 22 | 28 | public function setRatio(?float $ratio); | 
| 23 | 29 | |
| 30 | + /** | |
| 31 | + * @return CurrencyInterface|null | |
| 32 | + */ | |
| 24 | 33 | public function getSourceCurrency(): ?CurrencyInterface; | 
| 25 | 34 | |
| 35 | + /** | |
| 36 | + * @return void | |
| 37 | + */ | |
| 26 | 38 | public function setSourceCurrency(CurrencyInterface $currency): void; | 
| 27 | 39 | |
| 40 | + /** | |
| 41 | + * @return CurrencyInterface|null | |
| 42 | + */ | |
| 28 | 43 | public function getTargetCurrency(): ?CurrencyInterface; | 
| 29 | 44 | |
| 45 | + /** | |
| 46 | + * @return void | |
| 47 | + */ | |
| 30 | 48 | public function setTargetCurrency(CurrencyInterface $currency): void; | 
| 31 | 49 | } |