Class ExerciseCommand

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

public final class ExerciseCommand extends Command
  • Constructor Details

    • ExerciseCommand

      public ExerciseCommand(@NonNull Identifier templateId, @NonNull String contractId, @NonNull String choice, @NonNull Value choiceArgument)
  • Method Details

    • fromProto

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

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

      public @NonNull Identifier getTemplateId()
    • getContractId

      public @NonNull String getContractId()
    • 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