Class ExerciseByKeyCommand

java.lang.Object
com.daml.ledger.javaapi.data.Command
com.daml.ledger.javaapi.data.ExerciseByKeyCommand
All Implemented Interfaces:
HasCommands

public final class ExerciseByKeyCommand extends Command
  • Constructor Details

    • ExerciseByKeyCommand

      public ExerciseByKeyCommand(@NonNull Identifier templateId, @NonNull Value contractKey, @NonNull String choice, @NonNull Value choiceArgument)
  • Method Details

    • fromProto

      public static ExerciseByKeyCommand fromProto(com.daml.ledger.api.v2.CommandsOuterClass.ExerciseByKeyCommand command)
    • toProto

      public com.daml.ledger.api.v2.CommandsOuterClass.ExerciseByKeyCommand toProto()
    • getTemplateId

      public @NonNull Identifier getTemplateId()
    • getContractKey

      public @NonNull Value getContractKey()
    • getChoice

      public @NonNull String getChoice()
    • getChoiceArgument

      public @NonNull Value getChoiceArgument()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object