Class CreateAndExerciseCommand

  • All Implemented Interfaces:
    HasCommands

    public final class CreateAndExerciseCommand
    extends Command
    • Constructor Detail

      • CreateAndExerciseCommand

        public CreateAndExerciseCommand​(@NonNull Identifier templateId,
                                        @NonNull DamlRecord createArguments,
                                        @NonNull java.lang.String choice,
                                        @NonNull Value choiceArgument)
    • Method Detail

      • fromProto

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

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

        public DamlRecord getCreateArguments()
      • getChoice

        public java.lang.String getChoice()
      • getChoiceArgument

        public Value getChoiceArgument()
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object