Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Currency |
build() |
Currency.Builder |
copy(Currency model) |
Currency.Builder |
currencyCode(String currencyCode)
Currency code
|
Currency.Builder |
currencySymbol(String currencySymbol)
Currency symbol
|
Currency.Builder |
name(String name)
Name of the currency
|
Currency.Builder |
roundDecimalPoint(BigDecimal roundDecimalPoint)
Round decimal point
|
Currency.Builder |
usdConversion(BigDecimal usdConversion)
USD conversion rate of the currency
|
public Currency.Builder currencyCode(String currencyCode)
Currency code
currencyCode
- the value to setpublic Currency.Builder currencySymbol(String currencySymbol)
Currency symbol
currencySymbol
- the value to setpublic Currency.Builder name(String name)
Name of the currency
name
- the value to setpublic Currency.Builder usdConversion(BigDecimal usdConversion)
USD conversion rate of the currency
usdConversion
- the value to setpublic Currency.Builder roundDecimalPoint(BigDecimal roundDecimalPoint)
Round decimal point
roundDecimalPoint
- the value to setpublic Currency build()
public Currency.Builder copy(Currency model)
Copyright © 2016–2024. All rights reserved.