Added tests for DTOConverter

This commit is contained in:
Jan Böhmer 2023-07-15 18:18:35 +02:00
parent de82249d8d
commit 8ea92ef330
11 changed files with 429 additions and 11 deletions

View file

@ -46,6 +46,10 @@ class PriceDTO
$this->price_as_big_decimal = BigDecimal::of($this->price);
}
/**
* Gets the price as BigDecimal
* @return BigDecimal
*/
public function getPriceAsBigDecimal(): BigDecimal
{
return $this->price_as_big_decimal;