Package org.killbill.billing.catalog.api
Interface InternationalPrice
-
public interface InternationalPriceThe interfaceInternationalPriceallows to associate a set of prices in different currencies to a given object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimalgetPrice(Currency currency)Price[]getPrices()booleanisZero()
-
-
-
Method Detail
-
getPrices
Price[] getPrices()
- Returns:
- an array of
Pricein the various currencies
-
getPrice
BigDecimal getPrice(Currency currency) throws CatalogApiException
- Parameters:
currency- the currency- Returns:
- the price associated with that currency
- Throws:
CatalogApiException- if there is no entry
-
isZero
boolean isZero()
- Returns:
- whether this is a zero price
-
-