Uses of Class
de.hybris.order.calculation.money.Percentage
-
Packages that use Percentage Package Description de.hybris.order.calculation.domain de.hybris.order.calculation.money de.hybris.order.calculation.strategies de.hybris.order.calculation.strategies.impl -
-
Uses of Percentage in de.hybris.order.calculation.domain
Methods in de.hybris.order.calculation.domain that return types with arguments of type Percentage Modifier and Type Method Description java.util.List<Percentage>MultiLineItemDiscount.EvenMultiLineDiscountSplitStrategy. computeSplitRatio(java.util.List<LineItem> lineItems, java.util.List<Percentage> percentages)java.util.List<Percentage>MultiLineItemDiscount.MultiLineDiscountSplitStrategy. computeSplitRatio(java.util.List<LineItem> lineItems, java.util.List<Percentage> percentages) -
Uses of Percentage in de.hybris.order.calculation.money
Fields in de.hybris.order.calculation.money declared as Percentage Modifier and Type Field Description static PercentagePercentage. EIGHTYstatic PercentagePercentage. FIFTYstatic PercentagePercentage. FOURTYstatic PercentagePercentage. HUNDREDstatic PercentagePercentage. NINETYstatic PercentagePercentage. SEVENTYstatic PercentagePercentage. SEVENTYFIVEstatic PercentagePercentage. SIXTYstatic PercentagePercentage. TENstatic PercentagePercentage. THIRTYstatic PercentagePercentage. TWENTYstatic PercentagePercentage. TWENTYFIVEstatic PercentagePercentage. ZEROMethods in de.hybris.order.calculation.money that return Percentage Modifier and Type Method Description PercentagePercentage. add(Percentage percentage)Adds a percentage to current and returns the sum as new object.PercentagePercentage. subtract(Percentage percentage)Subtracts a percentage to current and returns the result as new object.static PercentagePercentage. sum(Percentage... percent)Sums a list of percentages.static PercentagePercentage. sum(java.util.Collection<Percentage> elements)Sums a list of percentages.Methods in de.hybris.order.calculation.money that return types with arguments of type Percentage Modifier and Type Method Description static java.util.List<Percentage>Money. getPercentages(int scale, Money... moneys)Calculates a list ofPercentageobjects reflecting the distribution of money within the given money list.static java.util.List<Percentage>Money. getPercentages(Money... moneys)Calculates a list ofPercentageobjects reflecting the distribution of money within the given money list.static java.util.List<Percentage>Money. getPercentages(java.util.List<Money> moneys, int scale)Calculates a list ofPercentageobjects reflecting the distribution of money within the given money list.java.util.List<Percentage>Percentage. split(int parts)Splits this percentage into the specified number of parts.static java.util.List<Percentage>Percentage. valueOf(int... rates)Creates a list percentages from the given int values.static java.util.List<Percentage>Percentage. valueOf(java.lang.String... rates)Creates a list percentages from the given String values.static java.util.List<Percentage>Percentage. valueOf(java.math.BigDecimal... rates)Creates a list percentages from the given BigDecimal values.Methods in de.hybris.order.calculation.money with parameters of type Percentage Modifier and Type Method Description PercentagePercentage. add(Percentage percentage)Adds a percentage to current and returns the sum as new object.java.util.List<Money>Money. split(Percentage... percentages)Same asMoney.split(List)but because of the variable parameter list the sum must not be exactly 100%.PercentagePercentage. subtract(Percentage percentage)Subtracts a percentage to current and returns the result as new object.static PercentagePercentage. sum(Percentage... percent)Sums a list of percentages.Method parameters in de.hybris.order.calculation.money with type arguments of type Percentage Modifier and Type Method Description protected java.math.BigDecimalMoney. checkPercentages(java.util.List<Percentage> percentages)java.util.List<Money>Money. split(java.util.List<Percentage> percentages)Splits the current Money into a list of new Money objects, based on the given list ofPercentageobjects.static PercentagePercentage. sum(java.util.Collection<Percentage> elements)Sums a list of percentages. -
Uses of Percentage in de.hybris.order.calculation.strategies
Methods in de.hybris.order.calculation.strategies with parameters of type Percentage Modifier and Type Method Description MoneyRoundingStrategy. getPercentValue(Money price, Percentage percent)Returns for the givenPercentageamount the calculated amount inMoney. -
Uses of Percentage in de.hybris.order.calculation.strategies.impl
Methods in de.hybris.order.calculation.strategies.impl with parameters of type Percentage Modifier and Type Method Description MoneyDefaultRoundingStrategy. getPercentValue(Money price, Percentage percent)
-