Modifier and Type | Class and Description |
---|---|
static class |
CurrencyFactor.CurrencyFactorBuilder |
Constructor and Description |
---|
CurrencyFactor()
A constructor to default currencyFactor value to 1.
|
CurrencyFactor(Integer currencyFactor)
A constructor to validate if currencyFactor is provided as a negative value.
|
Modifier and Type | Method and Description |
---|---|
static CurrencyFactor.CurrencyFactorBuilder |
builder() |
boolean |
equals(Object o) |
Integer |
getCurrencyFactor() |
int |
hashCode() |
String |
toString() |
public CurrencyFactor()
public CurrencyFactor(@Nonnull Integer currencyFactor)
currencyFactor
- The currency factor value for the to or from currency.@Nonnull public static CurrencyFactor.CurrencyFactorBuilder builder()
public Integer getCurrencyFactor()
Copyright © 2021 SAP SE. All rights reserved.