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 Object
implements PriceDataFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PriceDataType priceType, BigDecimal value, CurrencyModel currency) Creates a PriceData object with a formatted currency string based on the price type and currency.create(PriceDataType priceType, BigDecimal value, String currencyIso) Creates a PriceData object with a formatted currency string based on the price type and currency ISO code.
-
Constructor Details
-
DummyPriceDataFactory
public DummyPriceDataFactory()
-
-
Method Details
-
create
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
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
-