Class USD

java.lang.Object
com.truebubo.maniflow.money.CurrencyTypes.Money<USD>
com.truebubo.maniflow.money.CurrencyTypes.USD

public final class USD extends Money<USD>
US dollar
  • Field Details

    • Cent

      public static final USD Cent
      Small unit of currency
    • Dollar

      public static final USD Dollar
      Big unit of currency
  • Method Details

    • make

      public USD make(BigDecimal amount)
      Description copied from class: Money
      Used to force children to give us their instance
      Specified by:
      make in class Money<USD>
      Parameters:
      amount - How much of a currency do we own
      Returns:
      Money in given currency