use of org.killbill.billing.catalog.api.CurrencyValueNull in project killbill by killbill.
the class StandaloneCatalogMapper method toDefaultPrice.
private DefaultPrice toDefaultPrice(final Price input) {
try {
final DefaultPrice result = new DefaultPrice();
result.setCurrency(input.getCurrency());
result.setValue(input.getValue());
return result;
} catch (CurrencyValueNull currencyValueNull) {
throw new IllegalStateException(currencyValueNull);
}
}
Aggregations