The atg.commerce.pricing.OrderSubtotalCalculator
class computes the rawSubtotal
and amount
of an OrderPriceInfo
that corresponds to the input order. Unlike in the case of discount calculators, there is no rule that determines whether the subtotal should be calculated. The order’s subtotal is always calculated by summing the prices of the items in the order. If a pricing model is passed in, it is ignored.