Interface Money.Builder

Enclosing interface:
Money

public static interface Money.Builder
Dedicated Builder
  • Method Details

    • setCurrencyCode

      Money.Builder setCurrencyCode(String currencyCode)
      see getter
      Parameters:
      currencyCode - see getter
      Returns:
      Current builder
      See Also:
    • setAmount

      Money.Builder setAmount(Double amount)
      see getter
      Parameters:
      amount - see getter
      Returns:
      Current builder
      See Also:
    • build

      Money build()
      Create instance
      Returns:
      The instance build with current builder values