Class CurrencyConversion
- java.lang.Object
-
- pl.zankowski.iextrading4j.api.forex.CurrencyRate
-
- pl.zankowski.iextrading4j.api.forex.CurrencyConversion
-
- All Implemented Interfaces:
Serializable
public class CurrencyConversion extends CurrencyRate
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrencyConversion(String symbol, BigDecimal rate, Long timestamp, BigDecimal amount, Boolean isDerived)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
BigDecimal
getAmount()
int
hashCode()
String
toString()
-
Methods inherited from class pl.zankowski.iextrading4j.api.forex.CurrencyRate
getRate, getSymbol, getTimestamp, isDerived
-
-
-
-
Constructor Detail
-
CurrencyConversion
public CurrencyConversion(String symbol, BigDecimal rate, Long timestamp, BigDecimal amount, Boolean isDerived)
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCurrencyRate
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCurrencyRate
-
toString
public String toString()
- Overrides:
toString
in classCurrencyRate
-
-