Class DisclosedContract


  • public final class DisclosedContract
    extends java.lang.Object
    • Field Detail

      • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object