Package com.daml.ledger.javaapi.data
Class DisclosedContract
- java.lang.Object
-
- com.daml.ledger.javaapi.data.DisclosedContract
-
public final class DisclosedContract extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
contractId
com.google.protobuf.ByteString
createdEventBlob
Identifier
templateId
-
Constructor Summary
Constructors Constructor Description DisclosedContract(Identifier templateId, java.lang.String contractId, com.google.protobuf.ByteString createdEventBlob)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static DisclosedContract
fromProto(com.daml.ledger.api.v1.CommandsOuterClass.DisclosedContract disclosedContract)
int
hashCode()
com.daml.ledger.api.v1.CommandsOuterClass.DisclosedContract
toProto()
java.lang.String
toString()
-
-
-
Field Detail
-
templateId
public final Identifier templateId
-
contractId
public final java.lang.String contractId
-
createdEventBlob
public final com.google.protobuf.ByteString createdEventBlob
-
-
Constructor Detail
-
DisclosedContract
public DisclosedContract(Identifier templateId, java.lang.String contractId, com.google.protobuf.ByteString createdEventBlob)
-
-
Method Detail
-
toProto
public com.daml.ledger.api.v1.CommandsOuterClass.DisclosedContract toProto()
-
fromProto
public static DisclosedContract fromProto(com.daml.ledger.api.v1.CommandsOuterClass.DisclosedContract disclosedContract)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-