toInt() * $this->quantity; $this->pricing = new PricingDTO( gross_amount: $price, discount_amount: $discount ?: new Money(0), net_amount: new Money($netAmount), ); } }