| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Money.Builder |
amount(Long amount)
Setter for amount.
|
Money |
build()
Builds a new
Money object using the set fields. |
Money.Builder |
currency(String currency)
Setter for currency.
|
public Money.Builder amount(Long amount)
amount - Long value for amount.public Money.Builder currency(String currency)
currency - String value for currency.Copyright © 2022. All rights reserved.