public static class Commands.Move implements MoveCommand
A command stating that money has been moved, optionally to fulfil another contract.
public Move(@Nullable java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
contract
- the contract this move is for the attention of. Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.public Move()
A command stating that money has been moved, optionally to fulfil another contract.
@Nullable public java.lang.Class<? extends net.corda.core.contracts.Contract> getContract()
the contract this move is for the attention of.
Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.
@Nullable public java.lang.Class<? extends net.corda.core.contracts.Contract> component1()
the contract this move is for the attention of.
Only that contract's verify functionshould take the moved states into account when considering whether it is valid. Typically this will benull.
@NotNull public net.corda.finance.contracts.asset.Cash.Commands.Move copy(@Nullable java.lang.Class<? extends net.corda.core.contracts.Contract> contract)
A command stating that money has been moved, optionally to fulfil another contract.
contract
- the contract this move is for the attention of. Only that contract's verify function
should take the moved states into account when considering whether it is valid. Typically this will be
null.@NotNull public java.lang.String toString()
A command stating that money has been moved, optionally to fulfil another contract.
public int hashCode()
A command stating that money has been moved, optionally to fulfil another contract.
public boolean equals(@Nullable java.lang.Object p)
A command stating that money has been moved, optionally to fulfil another contract.