public class ExerciseCommand extends Command
Constructor and Description |
---|
ExerciseCommand(@NonNull Identifier templateId,
@NonNull java.lang.String contractId,
@NonNull java.lang.String choice,
@NonNull Value choiceArgument) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static ExerciseCommand |
fromProto(com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseCommand command) |
@NonNull java.lang.String |
getChoice() |
@NonNull Value |
getChoiceArgument() |
@NonNull java.lang.String |
getContractId() |
@NonNull Identifier |
getTemplateId() |
int |
hashCode() |
com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseCommand |
toProto() |
java.lang.String |
toString() |
asCreateCommand, asExerciseCommand, fromProtoCommand, toProtoCommand
public ExerciseCommand(@NonNull Identifier templateId, @NonNull java.lang.String contractId, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
public static ExerciseCommand fromProto(com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseCommand command)
public com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseCommand toProto()
public @NonNull Identifier getTemplateId()
public @NonNull java.lang.String getContractId()
public @NonNull java.lang.String getChoice()
public @NonNull Value getChoiceArgument()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object