Package com.daml.ledger.javaapi.data
Class Command
java.lang.Object
com.daml.ledger.javaapi.data.Command
- All Implemented Interfaces:
HasCommands
- Direct Known Subclasses:
CreateAndExerciseCommand,CreateCommand,ExerciseByKeyCommand,ExerciseCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Optional<CreateCommand>final Optional<ExerciseCommand>commands()static CommandfromProtoCommand(com.daml.ledger.api.v2.CommandsOuterClass.Command command) com.daml.ledger.api.v2.CommandsOuterClass.Command
-
Constructor Details
-
Command
public Command()
-
-
Method Details
-
commands
- Specified by:
commandsin interfaceHasCommands
-
fromProtoCommand
-
toProtoCommand
public com.daml.ledger.api.v2.CommandsOuterClass.Command toProtoCommand() -
asCreateCommand
-
asExerciseCommand
-