Class ConfigPricingImplTest.DummyPriceDataFactory
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.impl.ConfigPricingImplTest.DummyPriceDataFactory
-
- All Implemented Interfaces:
PriceDataFactory
- Enclosing class:
- ConfigPricingImplTest
public static class ConfigPricingImplTest.DummyPriceDataFactory extends java.lang.Object implements PriceDataFactory
-
-
Constructor Summary
Constructors Constructor Description DummyPriceDataFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriceDatacreate(PriceDataType priceType, java.math.BigDecimal value, CurrencyModel currency)Creates a PriceData object with a formatted currency string based on the price type and currency.PriceDatacreate(PriceDataType priceType, java.math.BigDecimal value, java.lang.String currencyIso)Creates a PriceData object with a formatted currency string based on the price type and currency ISO code.
-
-
-
Method Detail
-
create
public PriceData create(PriceDataType priceType, java.math.BigDecimal value, java.lang.String currencyIso)
Description copied from interface:PriceDataFactoryCreates a PriceData object with a formatted currency string based on the price type and currency ISO code.- Specified by:
createin interfacePriceDataFactory- Parameters:
priceType- The price typevalue- The price amountcurrencyIso- The currency ISO code- Returns:
- the price data
-
create
public PriceData create(PriceDataType priceType, java.math.BigDecimal value, CurrencyModel currency)
Description copied from interface:PriceDataFactoryCreates a PriceData object with a formatted currency string based on the price type and currency.- Specified by:
createin interfacePriceDataFactory- Parameters:
priceType- The price typevalue- The price amountcurrency- The currency- Returns:
- the price data
-
-