Class ContractWithKey<Id,Data,Key>
- java.lang.Object
-
- com.daml.ledger.javaapi.data.codegen.Contract<Id,Data>
-
- com.daml.ledger.javaapi.data.codegen.ContractWithKey<Id,Data,Key>
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Optional<Key>
key
The contract's key, if it was present in the event.-
Fields inherited from class com.daml.ledger.javaapi.data.codegen.Contract
agreementText, data, id, observers, signatories
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContractWithKey(Id id, Data data, java.util.Optional<java.lang.String> agreementText, java.util.Optional<Key> key, java.util.Set<java.lang.String> signatories, java.util.Set<java.lang.String> observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.daml.ledger.javaapi.data.codegen.Contract
getCompanion
-
-
-
-
Field Detail
-
key
public final java.util.Optional<Key> key
The contract's key, if it was present in the event.
-
-