Merge commit 'f8ccd5bc22bbc25188077dc20f0049f7068852ea' into d-buchmann-patch-1

This commit is contained in:
buchmann
2023-10-25 14:10:46 +02:00

View File

@@ -41,6 +41,8 @@ class PriceDTO
public readonly ?string $currency_iso_code,
/** @var bool If the price includes tax */
public readonly ?bool $includes_tax = true,
/** @var float the price related quantity */
public readonly ?float $price_related_quantity = 1.0,
)
{
$this->price_as_big_decimal = BigDecimal::of($this->price);
@@ -54,4 +56,4 @@ class PriceDTO
{
return $this->price_as_big_decimal;
}
}
}