public class AmountWithCurrency extends Number
Constructor and Description |
---|
AmountWithCurrency(BigDecimal amount,
Currency currency) |
AmountWithCurrency(double amount,
Currency currency) |
Modifier and Type | Method and Description |
---|---|
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
@Generated(value="lombok") public BigDecimal getAmount()
@Generated(value="lombok") public Currency getCurrency()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2017 SAP SE. All rights reserved.