Package com.casper.sdk.model.account
Class AssociatedKey
- java.lang.Object
-
- com.casper.sdk.model.account.AssociatedKey
-
public class AssociatedKey extends java.lang.ObjectAssociated Key- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssociatedKey.AssociatedKeyBuilder
-
Constructor Summary
Constructors Constructor Description AssociatedKey()AssociatedKey(AccountHashKey accountHash, int weight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociatedKey.AssociatedKeyBuilderbuilder()AccountHashKeygetAccountHash()account_hash(String) Hex-encoded account hash.intgetWeight()weight(Integer)voidsetAccountHash(AccountHashKey accountHash)account_hash(String) Hex-encoded account hash.voidsetWeight(int weight)weight(Integer)
-
-
-
Constructor Detail
-
AssociatedKey
public AssociatedKey(AccountHashKey accountHash, int weight)
-
AssociatedKey
public AssociatedKey()
-
-
Method Detail
-
builder
public static AssociatedKey.AssociatedKeyBuilder builder()
-
getAccountHash
public AccountHashKey getAccountHash()
account_hash(String) Hex-encoded account hash.
-
getWeight
public int getWeight()
weight(Integer)
-
setAccountHash
public void setAccountHash(AccountHashKey accountHash)
account_hash(String) Hex-encoded account hash.
-
setWeight
public void setWeight(int weight)
weight(Integer)
-
-