Value m_discountSchema is not set in MProductPricing

Description

When MProductPricing is created the value of m_discountSchema is set to false. The value is set correctly when the function calculatePrice() is called.

The problem is that if MProductPricing.isDiscountSchema() is called, it simply returns the value of m_discountSchema without performing the calculation.

Most other fields include the following in the getter:

if (!m_calculated)
calculatePrice();

Environment

None

Assignee

Michael McKay

Reporter

Michael McKay

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure