Uses of Class
de.hybris.order.calculation.money.Currency
-
-
Uses of Currency in de.hybris.order.calculation.domain
Methods in de.hybris.order.calculation.domain that return Currency Modifier and Type Method Description CurrencyOrder. getCurrency()Returns the currency which this order is being calculated for.Constructors in de.hybris.order.calculation.domain with parameters of type Currency Constructor Description Order(Currency currency, boolean isNet, CalculationStrategies calculationStrategies)Creates a new order calculation object based on a specific currency and bet/gross mode.Order(Currency currency, CalculationStrategies calculationStrategies)Creates a new gross order calculation object based on a specific currency. -
Uses of Currency in de.hybris.order.calculation.money
Methods in de.hybris.order.calculation.money that return Currency Modifier and Type Method Description CurrencyMoney. getCurrency()Returns the currency of this money.static CurrencyCurrency. valueOf(java.lang.String code, int digits)Shortcut for getting commonly used currency instances.Methods in de.hybris.order.calculation.money with parameters of type Currency Modifier and Type Method Description voidMoney. assertCurreniesAreEqual(Currency curr)Checks if the current Currency is equal to given one.static java.util.List<Money>Money. valueOf(Currency curr, long... amounts)Creates a list of money objects for a specific currency and any number of long values.static java.util.List<Money>Money. valueOf(Currency curr, java.lang.String... amounts)Creates a list of money objects for a specific currency and any number of String values.static java.util.List<Money>Money. valueOf(Currency curr, java.math.BigDecimal... amounts)Creates a list of money objects for a specific currency and any number of BigDecimal values.static MoneyMoney. zero(Currency curr)Shortcut to obtain commonly used zero money instances.Constructors in de.hybris.order.calculation.money with parameters of type Currency Constructor Description Money(long amountInSmallestPieces, Currency currency)Creates a new money from a given amount of smallest pieces and a currency.Money(Currency currency)Creates zero money of the given Currency.Money(java.lang.String amount, Currency currency)Creates a new money from String and currency.Money(java.math.BigDecimal amount, Currency currency)Creates a Money object. -
Uses of Currency in de.hybris.order.calculation.strategies
Methods in de.hybris.order.calculation.strategies with parameters of type Currency Modifier and Type Method Description MoneyRoundingStrategy. roundToMoney(java.math.BigDecimal amount, Currency currency)Creates aMoneyobject based on the given BigDecimal amount. -
Uses of Currency in de.hybris.order.calculation.strategies.impl
Methods in de.hybris.order.calculation.strategies.impl with parameters of type Currency Modifier and Type Method Description protected MoneyDefaultRoundingStrategy. createMoney(java.math.BigDecimal amount, Currency curr)protected MoneyDefaultTaxRoundingStrategy. createMoney(java.math.BigDecimal amount, Currency curr)MoneyDefaultRoundingStrategy. roundToMoney(java.math.BigDecimal amount, Currency currency) -
Uses of Currency in de.hybris.platform.ruleengineservices.calculation.impl
Methods in de.hybris.platform.ruleengineservices.calculation.impl with parameters of type Currency Modifier and Type Method Description protected voidDefaultRuleEngineCalculationServiceCreationMethodsTest. assertCreateLineItemDiscountAbsolute(LineItem lineItem, LineItemDiscount createLineItemDiscount, boolean perUnit, Currency currency, java.math.BigDecimal valueOf)protected LineItemDiscountDefaultRuleEngineCalculationService. validateLineItemDiscount(LineItem lineItem, boolean absolute, Currency currency, LineItemDiscount discount) -
Uses of Currency in de.hybris.platform.ruleengineservices.converters
Methods in de.hybris.platform.ruleengineservices.converters that return Currency Modifier and Type Method Description CurrencyAbstractOrderRaoToCurrencyConverter. convert(AbstractOrderRAO source)CurrencyAbstractOrderRaoToCurrencyConverter. convert(AbstractOrderRAO paramSOURCE, Currency paramTARGET)Methods in de.hybris.platform.ruleengineservices.converters that return types with arguments of type Currency Modifier and Type Method Description protected Converter<AbstractOrderRAO,Currency>AbstractOrderRaoToOrderConverter. getAbstractOrderRaoToCurrencyConverter()protected Converter<AbstractOrderRAO,Currency>OrderEntryRaoToNumberedLineItemConverter. getAbstractOrderRaoToCurrencyConverter()Methods in de.hybris.platform.ruleengineservices.converters with parameters of type Currency Modifier and Type Method Description CurrencyAbstractOrderRaoToCurrencyConverter. convert(AbstractOrderRAO paramSOURCE, Currency paramTARGET)Method parameters in de.hybris.platform.ruleengineservices.converters with type arguments of type Currency Modifier and Type Method Description voidAbstractOrderRaoToOrderConverter. setAbstractOrderRaoToCurrencyConverter(Converter<AbstractOrderRAO,Currency> abstractOrderRaoToCurrencyConverter)voidOrderEntryRaoToNumberedLineItemConverter. setAbstractOrderRaoToCurrencyConverter(Converter<AbstractOrderRAO,Currency> abstractOrderRaoToCurrencyConverter) -
Uses of Currency in de.hybris.platform.ruleengineservices.util
Methods in de.hybris.platform.ruleengineservices.util with parameters of type Currency Modifier and Type Method Description OrderChargeOrderUtils. createShippingCharge(Currency currency, boolean absolute, java.math.BigDecimal value)Creates anOrderChargeofAbstractCharge.ChargeType.SHIPPINGfor the given values.
-