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

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

View file

@ -41,6 +41,8 @@ class PriceDTO
public readonly ?string $currency_iso_code, public readonly ?string $currency_iso_code,
/** @var bool If the price includes tax */ /** @var bool If the price includes tax */
public readonly ?bool $includes_tax = true, 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); $this->price_as_big_decimal = BigDecimal::of($this->price);