Package org.polkadot.types.type
Class BalanceLock
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.type.BalanceLock
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class BalanceLock extends Struct
The Substrate BalanceLock for staking- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BalanceLock(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description BalancegetAmount()The amountLockIdentifiergetId()The lock idWithdrawReasonsgetReasons()The reasonsBlockNumbergetUntil()Until when this is available-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getAmount
public Balance getAmount()
The amount
-
getId
public LockIdentifier getId()
The lock id
-
getReasons
public WithdrawReasons getReasons()
The reasons
-
getUntil
public BlockNumber getUntil()
Until when this is available
-
-