Package com.daml.ledger.javaapi.data
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 Summary
Constructors Constructor Description ExerciseCommand(@NonNull Identifier templateId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static ExerciseCommandfromProto(CommandsOuterClass.ExerciseCommand command)@NonNull java.lang.StringgetChoice()@NonNull ValuegetChoiceArgument()@NonNull java.lang.StringgetContractId()@NonNull IdentifiergetTemplateId()inthashCode()CommandsOuterClass.ExerciseCommandtoProto()java.lang.StringtoString()- 
Methods inherited from class com.daml.ledger.javaapi.data.Command
asCreateCommand, asExerciseCommand, commands, fromProtoCommand, toProtoCommand 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ExerciseCommand
public ExerciseCommand(@NonNull Identifier templateId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
 
 - 
 
- 
Method Detail
- 
fromProto
public static ExerciseCommand fromProto(CommandsOuterClass.ExerciseCommand command)
 
- 
toProto
public CommandsOuterClass.ExerciseCommand toProto()
 
- 
getTemplateId
public @NonNull Identifier getTemplateId()
 
- 
getContractId
public @NonNull java.lang.String getContractId()
 
- 
getChoice
public @NonNull java.lang.String getChoice()
 
- 
getChoiceArgument
public @NonNull Value getChoiceArgument()
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -