Package net.pricefx.server.dto
Class TieredValue
Object
TieredValue
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
asMap()
clone()
static TieredValue
static TieredValue
fromMap
(Map<String, String> map, TieredValueSortType sortType, TieredValueValidationType validationType) get
(int idx) getTierForTarget
(BigDecimal target) boolean
isValid()
multiplyTargets
(BigDecimal factor) multiplyValues
(BigDecimal factor) int
size()
toString()
-
Constructor Details
-
TieredValue
public TieredValue()
-
-
Method Details
-
clone
-
get
-
all
-
getTierForTarget
-
multiplyTargets
-
multiplyValues
-
size
public int size() -
isValid
public boolean isValid() -
toString
-
asMap
-
fromMap
-
fromMap
public static TieredValue fromMap(Map<String, String> map, TieredValueSortType sortType, TieredValueValidationType validationType)
-