Would it not be better, to show the customer the price of the product they are paying?
In this case, that would be a public getter and a private readonly setter for the variable poductPrice
Can you share the course/lesson link?
Sorry, i forgot which course this was from and failed to provide the correct link