Class DisclosedContract

java.lang.Object
com.daml.ledger.javaapi.data.DisclosedContract

public final class DisclosedContract extends Object
  • Field Details

    • templateId

      public final Optional<Identifier> templateId
    • contractId

      public final Optional<String> contractId
    • createdEventBlob

      public final com.google.protobuf.ByteString createdEventBlob
    • synchronizerId

      public final Optional<String> synchronizerId
  • Constructor Details

    • DisclosedContract

      @Deprecated public DisclosedContract(Identifier templateId, String contractId, com.google.protobuf.ByteString createdEventBlob)
      Deprecated.
      since 3.2.0. It will be removed in a future release
      Constructor that does not require providing the synchronizer id
    • DisclosedContract

      @Deprecated public DisclosedContract(Identifier templateId, String contractId, com.google.protobuf.ByteString createdEventBlob, String synchronizerId)
      Deprecated.
      since 3.4.0. It will be removed in a future release
      Constructor that requires the contract-id and template-id.
    • DisclosedContract

      public DisclosedContract(com.google.protobuf.ByteString createdEventBlob, String synchronizerId, Optional<Identifier> templateId, Optional<String> contractId)
  • Method Details