Uses of Class
net.pricefx.server.dto.TieredValue
Packages that use TieredValue
Package
Description
Typed records that describe price list items, product references and tiered values.
-
Uses of TieredValue in net.pricefx.server.dto
Methods in net.pricefx.server.dto that return TieredValueModifier and TypeMethodDescriptionTieredValue.clone()Returns a newTieredValuewith the same tiers, sort type and validation type as this one, rebuilt viaasMap()andfromMap(Map, TieredValueSortType, TieredValueValidationType).static TieredValueCreates aTieredValuefrom a map of targets to values, with the tiers in ascending order.static TieredValueTieredValue.fromMap(Map<String, String> map, TieredValueSortType sortType, TieredValueValidationType validationType) Creates aTieredValuefrom a map of targets to values, parsing each key and value as aBigDecimaland sorting the tiers by target in the given order.TieredValue.multiplyTargets(BigDecimal factor) TieredValue.multiplyValues(BigDecimal factor) Returns a copy of thisTieredValue(seeclone()) with every tier's value multiplied byfactor, for example0.01to turn percentage points into fractions.