public class AmountWithCurrency extends Number
Constructor and Description |
---|
AmountWithCurrency(BigDecimal amount,
Currency currency) |
AmountWithCurrency(double amount,
Currency currency) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
BigDecimal |
getAmount() |
Currency |
getCurrency() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
String |
toString() |
byteValue, shortValue
public AmountWithCurrency(BigDecimal amount, Currency currency)
public AmountWithCurrency(double amount, Currency currency)
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public BigDecimal getAmount()
public Currency getCurrency()
protected boolean canEqual(Object other)
Copyright © 2018 SAP SE. All rights reserved.