public static class Transaction.Action.ControlWithReceiver extends Transaction.Action
Receiver.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>| 构造器和说明 |
|---|
ControlWithReceiver()
Default constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction.Action.ControlWithReceiver |
setAmount(long amount)
Specifies the amount of the asset to be controlled.
|
Transaction.Action.ControlWithReceiver |
setAssetAlias(String alias)
Specifies the asset to be controlled using its alias.
|
Transaction.Action.ControlWithReceiver |
setAssetId(String id)
Specifies the asset to be controlled using its id.
|
Transaction.Action.ControlWithReceiver |
setReceiver(Receiver receiver)
Specifies the receiver that is being paid to.
|
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 Transaction.Action.ControlWithReceiver setReceiver(Receiver receiver)
receiver - the receiver being paid topublic Transaction.Action.ControlWithReceiver setAssetAlias(String alias)
Either this or setAssetId(String) must
be called.
alias - unique alias of the asset to be controlledpublic Transaction.Action.ControlWithReceiver setAssetId(String id)
Either this or setAssetAlias(String)
must be called.
id - unique ID of the asset to be controlledpublic Transaction.Action.ControlWithReceiver setAmount(long amount)
Must be called.
amount - the number of units of the asset to be controlledCopyright © 2018. All rights reserved.