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 Details

    • DummyPriceDataFactory

      public DummyPriceDataFactory()
  • Method Details

    • create

      public PriceData create(PriceDataType priceType, BigDecimal value, String currencyIso)
      Description copied from interface: PriceDataFactory
      Creates a PriceData object with a formatted currency string based on the price type and currency ISO code.
      Specified by:
      create in interface PriceDataFactory
      Parameters:
      priceType - The price type
      value - The price amount
      currencyIso - The currency ISO code
      Returns:
      the price data
    • create

      public PriceData create(PriceDataType priceType, BigDecimal value, CurrencyModel currency)
      Description copied from interface: PriceDataFactory
      Creates a PriceData object with a formatted currency string based on the price type and currency.
      Specified by:
      create in interface PriceDataFactory
      Parameters:
      priceType - The price type
      value - The price amount
      currency - The currency
      Returns:
      the price data