HelperMethods: HelperMethods

Global HelperMethods object available in pricing scripts This constant provides access to all helper methods and utilities, allowing scripts to use advanced functionality for complex pricing calculations

Example

// Use interpolation for tier-based pricing
var tierPrice = HelperMethods.InterpolatePrice(Item.Quantity, pricingTiers);

// Get attribute adjustments
var adjustments = HelperMethods.GetAttributePriceAdjustment(Item.Quantity, Item.CustomerRoles);

// Parse CSV data
var data = HelperMethods.CSV.parse(csvString);

Generated using TypeDoc