public static class Commands.Settle<P> implements Obligation.Commands
A command stating that the obligor is settling some or all of the amount owed by transferring a suitable state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.
interface MoveCommandCommands.Exit<P>, Commands.Issue, Commands.Move, Commands.Net, Commands.SetLifecycle, Commands.Settle<P>| Constructor and Description |
|---|
Settle(Amount<net.corda.core.contracts.Issued> amount)
A command stating that the obligor is settling some or all of the amount owed by transferring a suitable
state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.
|
| Modifier and Type | Method and Description |
|---|---|
Amount<net.corda.core.contracts.Issued> |
component1() |
Commands.Settle<P> |
copy(Amount<net.corda.core.contracts.Issued> amount)
A command stating that the obligor is settling some or all of the amount owed by transferring a suitable
state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.
|
boolean |
equals(java.lang.Object p) |
Amount<net.corda.core.contracts.Issued> |
getAmount() |
int |
hashCode() |
java.lang.String |
toString() |
public Settle(Amount<net.corda.core.contracts.Issued> amount)
A command stating that the obligor is settling some or all of the amount owed by transferring a suitable state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.
interface MoveCommandpublic Amount<net.corda.core.contracts.Issued> getAmount()
public Amount<net.corda.core.contracts.Issued> component1()
public Commands.Settle<P> copy(Amount<net.corda.core.contracts.Issued> amount)
A command stating that the obligor is settling some or all of the amount owed by transferring a suitable state object to the beneficiary. If this reduces the balance to zero, the state object is destroyed.
interface MoveCommandpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)