Interface Currency

All Superinterfaces:
Comparable<Currency>, Currency, OsidPrimitive, OsidPrimitive, Serializable

public interface Currency extends OsidPrimitive, Currency

This primitive represents a currency amount.

  • Method Details

    • getCurrencyType

      Type getCurrencyType()
      Gets the currency type.
      Returns:
      the currency type
      Compliance:
      mandatory - This method must be implemented.
    • getAmount

      BigDecimal getAmount()
      Gets the total amount.
      Returns:
      the amount
      Compliance:
      mandatory - This method must be implemented.