Package com.broadleafcommerce.money
Interface CurrencyConsumer
- All Known Subinterfaces:
CurrencyAware
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Convenience interface to indicate than an object, usually an entity, accepts a
CurrencyUnit
.- Author:
- Kelly Tisdell (ktisdell)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCurrency
(javax.money.CurrencyUnit currencyUnit) Method to accept aCurrencyUnit
.
-
Method Details
-
setCurrency
void setCurrency(javax.money.CurrencyUnit currencyUnit) Method to accept aCurrencyUnit
.- Parameters:
currencyUnit
-
-