Class Account
- java.lang.Object
-
- com.syntifi.casper.sdk.model.account.Account
-
public class Account extends java.lang.Object
Structure representing a user's account, stored in global state.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description Account()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<AssociatedKey>
getAssociatedKeys()
a list ofAssociatedKey
ActionThresholds
getDeployment()
ActionThresholds
that have to be met when executing an action of a certain type.java.lang.String
getHash()
account_hash(String) Hex-encoded account hash.java.lang.String
getMainPurse()
main_purse(String) Hex-encoded, formatted URef.java.util.List<NamedKey>
getNamedKeys()
named_keys (@link NamedKey)int
hashCode()
void
setAssociatedKeys(java.util.List<AssociatedKey> associatedKeys)
a list ofAssociatedKey
void
setDeployment(ActionThresholds deployment)
ActionThresholds
that have to be met when executing an action of a certain type.void
setHash(java.lang.String hash)
account_hash(String) Hex-encoded account hash.void
setMainPurse(java.lang.String mainPurse)
main_purse(String) Hex-encoded, formatted URef.void
setNamedKeys(java.util.List<NamedKey> namedKeys)
named_keys (@link NamedKey)java.lang.String
toString()
-
-
-
Method Detail
-
getHash
public java.lang.String getHash()
account_hash(String) Hex-encoded account hash.
-
getDeployment
public ActionThresholds getDeployment()
ActionThresholds
that have to be met when executing an action of a certain type.
-
getAssociatedKeys
public java.util.List<AssociatedKey> getAssociatedKeys()
a list ofAssociatedKey
-
getMainPurse
public java.lang.String getMainPurse()
main_purse(String) Hex-encoded, formatted URef.
-
getNamedKeys
public java.util.List<NamedKey> getNamedKeys()
named_keys (@link NamedKey)
-
setHash
public void setHash(java.lang.String hash)
account_hash(String) Hex-encoded account hash.
-
setDeployment
public void setDeployment(ActionThresholds deployment)
ActionThresholds
that have to be met when executing an action of a certain type.
-
setAssociatedKeys
public void setAssociatedKeys(java.util.List<AssociatedKey> associatedKeys)
a list ofAssociatedKey
-
setMainPurse
public void setMainPurse(java.lang.String mainPurse)
main_purse(String) Hex-encoded, formatted URef.
-
setNamedKeys
public void setNamedKeys(java.util.List<NamedKey> namedKeys)
named_keys (@link NamedKey)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-