The CalculatorInfo
object is used by the BulkTypeDiscountCalculator
classes. It provides access to the following information for a calculator:
CalculatorType
: Corresponds to the key of thecalculatorTypeCalculators
map in the pricing engine.DiscountStructureAttributeInfos
: An array of attributes specified under thediscount-structure
in the PMDL, such asbandingProperty
orbandingPropertyScope
.DiscountDetailAttributeinfos
: An array of attributes that can be specified per discount-detail in the PMDL, such asband
oradjuster
.DiscountTypes
: Discount types valid for this calculator, such asfixedPrice
orpercentOff
.
For information on the discount-structure
in PMDL, see the Understanding PMDL Discount Rules section.