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.

@FunctionalInterface public interface CurrencyConsumer
Convenience interface to indicate than an object, usually an entity, accepts a CurrencyUnit.
Author:
Kelly Tisdell (ktisdell)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setCurrency(javax.money.CurrencyUnit currencyUnit)
    Method to accept a CurrencyUnit.
  • Method Details

    • setCurrency

      void setCurrency(javax.money.CurrencyUnit currencyUnit)
      Method to accept a CurrencyUnit.
      Parameters:
      currencyUnit -