Class CreateAndExerciseCommand

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

public final class CreateAndExerciseCommand extends Command
  • Constructor Details

    • CreateAndExerciseCommand

      public CreateAndExerciseCommand(@NonNull Identifier templateId, @NonNull DamlRecord createArguments, @NonNull String choice, @NonNull Value choiceArgument)
  • Method Details

    • fromProto

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

      public com.daml.ledger.api.v2.CommandsOuterClass.CreateAndExerciseCommand toProto()
    • getCreateArguments

      public DamlRecord getCreateArguments()
    • getChoice

      public String getChoice()
    • getChoiceArgument

      public 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