public class ExerciseByKeyCommand extends Command
Constructor and Description |
---|
ExerciseByKeyCommand(@NonNull Identifier templateId,
@NonNull Value contractKey,
@NonNull java.lang.String choice,
@NonNull Value choiceArgument) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static ExerciseByKeyCommand |
fromProto(com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand command) |
@NonNull java.lang.String |
getChoice() |
@NonNull Value |
getChoiceArgument() |
@NonNull Value |
getContractKey() |
@NonNull Identifier |
getTemplateId() |
int |
hashCode() |
com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand |
toProto() |
java.lang.String |
toString() |
asCreateCommand, asExerciseCommand, fromProtoCommand, toProtoCommand
public ExerciseByKeyCommand(@NonNull Identifier templateId, @NonNull Value contractKey, @NonNull java.lang.String choice, @NonNull Value choiceArgument)
public static ExerciseByKeyCommand fromProto(com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand command)
public com.digitalasset.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand toProto()
public @NonNull Identifier getTemplateId()
public @NonNull Value getContractKey()
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