Class RoundingRuleType
java.lang.Object
com.sap.retail.sapppspricing.swagger.businessobject.dto.RoundingRuleType
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2022-09-26T19:16:22.658615400+05:30[Asia/Calcutta]")
public class RoundingRuleType
extends Object
Specifies how the regular sales price should be rounded after multiplying the unit price with the provided quantity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSpecifies the rounding direction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnyItem(Object anyItem) booleangetAny()This is currently not supported.The rounding result must be an integer multiple of the specified value.Specifies the rounding direction.inthashCode()multiple(BigDecimal multiple) roundingMethod(RoundingRuleType.RoundingMethodEnum roundingMethod) voidvoidsetMultiple(BigDecimal multiple) voidsetRoundingMethod(RoundingRuleType.RoundingMethodEnum roundingMethod) toString()
-
Constructor Details
-
RoundingRuleType
public RoundingRuleType()
-
-
Method Details
-
any
-
addAnyItem
-
getAny
This is currently not supported.- Returns:
- any
-
setAny
-
roundingMethod
-
getRoundingMethod
Specifies the rounding direction. Default value is Commercial.- Returns:
- roundingMethod
-
setRoundingMethod
-
multiple
-
getMultiple
The rounding result must be an integer multiple of the specified value. Example: If the value to be rounded is 12.345, rounding method is Commercial and Multple is 0.05, then the rounding result is 12.35. Default value is 0.01. minimum: 0- Returns:
- multiple
-
setMultiple
-
equals
-
hashCode
public int hashCode() -
toString
-