NanoUnit
utility class instead for efficiency@Deprecated public class RequestConvertUnits extends RpcRequest<ResponseAmount>
ResponseAmount
data object.NanoUnit
,
Official RPC documentationModifier and Type | Class | Description |
---|---|---|
static class |
RequestConvertUnits.Conversion |
Deprecated.
|
Constructor | Description |
---|---|
RequestConvertUnits(RequestConvertUnits.Conversion conversion,
long amount) |
Deprecated.
|
RequestConvertUnits(RequestConvertUnits.Conversion conversion,
BigInteger amount) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
BigInteger |
getAmount() |
Deprecated.
|
RequestConvertUnits.Conversion |
getConversionType() |
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActionCommand, getResponseClass, toString
public RequestConvertUnits(RequestConvertUnits.Conversion conversion, long amount)
conversion
- the units of currency to convert betweenamount
- the quantity of the origin currencypublic RequestConvertUnits(RequestConvertUnits.Conversion conversion, BigInteger amount)
conversion
- the units of currency to convert betweenamount
- the quantity of the origin currencypublic BigInteger getAmount()
public final RequestConvertUnits.Conversion getConversionType()
Copyright © 2020. All rights reserved.