public static class Transaction.Action.ControlWithAddress 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>| 构造器和说明 |
|---|
ControlWithAddress()
Default constructor defines the action type as "control_address"
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction.Action.ControlWithAddress |
setAddress(String address) |
Transaction.Action.ControlWithAddress |
setAmount(long amount)
Specifies the amount of the asset to be controlled.
|
Transaction.Action.ControlWithAddress |
setAssetAlias(String alias)
Specifies the asset to be controlled using its alias.
|
Transaction.Action.ControlWithAddress |
setAssetId(String id)
Specifies the asset to be controlled 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 ControlWithAddress()
public Transaction.Action.ControlWithAddress setAddress(String address)
public Transaction.Action.ControlWithAddress setAssetAlias(String alias)
setAssetId(String) must
be called.alias - alias of the asset to be controlledpublic Transaction.Action.ControlWithAddress setAssetId(String id)
Transaction.Action.ControlWithAccount.setAssetAlias(String)
must be called.id - id of the asset to be controlledpublic Transaction.Action.ControlWithAddress setAmount(long amount)
amount - number of units of the asset to be controlledCopyright © 2018. All rights reserved.