Class Account
- java.lang.Object
- 
- com.syntifi.casper.sdk.model.account.Account
 
- 
 public class Account extends java.lang.ObjectStructure representing a user's account, stored in global state.- Since:
- 0.0.1
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAccount.AccountBuilder
 - 
Constructor SummaryConstructors Constructor Description Account()Account(java.lang.String hash, ActionThresholds deployment, java.util.List<AssociatedKey> associatedKeys, java.lang.String mainPurse, java.util.List<NamedKey> namedKeys)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Account.AccountBuilderbuilder()java.util.List<AssociatedKey>getAssociatedKeys()a list ofAssociatedKeyActionThresholdsgetDeployment()ActionThresholdsthat have to be met when executing an action of a certain type.java.lang.StringgetHash()account_hash(String) Hex-encoded account hash.java.lang.StringgetMainPurse()main_purse(String) Hex-encoded, formatted URef.java.util.List<NamedKey>getNamedKeys()named_keys (@link NamedKey)voidsetAssociatedKeys(java.util.List<AssociatedKey> associatedKeys)a list ofAssociatedKeyvoidsetDeployment(ActionThresholds deployment)ActionThresholdsthat have to be met when executing an action of a certain type.voidsetHash(java.lang.String hash)account_hash(String) Hex-encoded account hash.voidsetMainPurse(java.lang.String mainPurse)main_purse(String) Hex-encoded, formatted URef.voidsetNamedKeys(java.util.List<NamedKey> namedKeys)named_keys (@link NamedKey)
 
- 
- 
- 
Constructor Detail- 
Accountpublic Account() 
 - 
Accountpublic Account(java.lang.String hash, ActionThresholds deployment, java.util.List<AssociatedKey> associatedKeys, java.lang.String mainPurse, java.util.List<NamedKey> namedKeys)
 
- 
 - 
Method Detail- 
builderpublic static Account.AccountBuilder builder() 
 - 
getHashpublic java.lang.String getHash() account_hash(String) Hex-encoded account hash.
 - 
getDeploymentpublic ActionThresholds getDeployment() ActionThresholdsthat have to be met when executing an action of a certain type.
 - 
getAssociatedKeyspublic java.util.List<AssociatedKey> getAssociatedKeys() a list ofAssociatedKey
 - 
getMainPursepublic java.lang.String getMainPurse() main_purse(String) Hex-encoded, formatted URef.
 - 
getNamedKeyspublic java.util.List<NamedKey> getNamedKeys() named_keys (@link NamedKey)
 - 
setHashpublic void setHash(java.lang.String hash) account_hash(String) Hex-encoded account hash.
 - 
setDeploymentpublic void setDeployment(ActionThresholds deployment) ActionThresholdsthat have to be met when executing an action of a certain type.
 - 
setAssociatedKeyspublic void setAssociatedKeys(java.util.List<AssociatedKey> associatedKeys) a list ofAssociatedKey
 - 
setMainPursepublic void setMainPurse(java.lang.String mainPurse) main_purse(String) Hex-encoded, formatted URef.
 - 
setNamedKeyspublic void setNamedKeys(java.util.List<NamedKey> namedKeys) named_keys (@link NamedKey)
 
- 
 
-