public static class Transaction.Action.SpendFromAccount extends Transaction.Action
Transaction.Action.ControlWithAccount, Transaction.Action.ControlWithAddress, Transaction.Action.ControlWithReceiver, Transaction.Action.Issue, Transaction.Action.Retire, Transaction.Action.SpendFromAccountAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
SpendFromAccount()
Default constructor defines the action type as "spend_account"
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction.Action.SpendFromAccount |
setAccountAlias(String alias)
Specifies the spending account using its alias.
|
Transaction.Action.SpendFromAccount |
setAccountId(String id)
Specifies the spending account using its id.
|
Transaction.Action.SpendFromAccount |
setAmount(long amount)
Specifies the amount of asset to be spent.
|
Transaction.Action.SpendFromAccount |
setAssetAlias(String alias)
Specifies the asset to be spent using its alias.
|
Transaction.Action.SpendFromAccount |
setAssetId(String id)
Specifies the asset to be spent using its id.
|
setParameterclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic SpendFromAccount()
public Transaction.Action.SpendFromAccount setAccountAlias(String alias)
setAccountId(String) must
be called.setAssetAlias(String)
.alias - alias of the spending accountpublic Transaction.Action.SpendFromAccount setAccountId(String id)
setAccountAlias(String)
must be called.setAssetId(String)
.id - id of the spending accountpublic Transaction.Action.SpendFromAccount setAssetAlias(String alias)
setAssetId(String) must be
called.setAccountAlias(String)
.alias - alias of the asset to be spentpublic Transaction.Action.SpendFromAccount setAssetId(String id)
setAssetAlias(String) must
be called.setAccountId(String)
.id - id of the asset to be spentpublic Transaction.Action.SpendFromAccount setAmount(long amount)
amount - number of units of the asset to be spentCopyright © 2018. All rights reserved.