public interface PriceDataFactory
| Modifier and Type | Method and Description |
|---|---|
PriceData |
create(PriceDataType priceType,
java.math.BigDecimal value,
CurrencyModel currency)
Creates a PriceData object with a formatted currency string based on the price type and currency.
|
PriceData |
create(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.
|
PriceData create(PriceDataType priceType, java.math.BigDecimal value, java.lang.String currencyIso)
priceType - The price typevalue - The price amountcurrencyIso - The currency ISO codePriceData create(PriceDataType priceType, java.math.BigDecimal value, CurrencyModel currency)
priceType - The price typevalue - The price amountcurrency - The currencyCopyright © 2018 SAP SE. All Rights Reserved.