MoveCommand
Keywords: net.corda.core.contracts.MoveCommand interface
Date: 2023-09-18

net.corda.core.contracts

## Interface MoveCommand

- All Superinterfaces:
    CommandData
  All Known Implementing Classes:
    Commands.Move, Commands.Move

      public MoveCommand
      extends CommandData

  A common move command for contract states which can change owner.

- - ### Constructor Detail

    - #### MoveCommand

          public MoveCommand()

  - ### Method Detail

    - #### getContract

          @Nullable
          java.lang.Class<? extends net.corda.core.contracts.Contract> getContract()

      Contract code the moved state(s) are for the attention of, for example to indicate that the states are moved in order to settle an obligation contract's state object(s).