Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger APIJava BindingsPackagescom.daml.ledger.javaapi.data.codegenView on Canton Network Docs

ContractCompanion

Back to package

com.daml.ledger.javaapi.data.codegen

ContractCompanion

Metadata and utilities associated with a template as a whole, rather than one single contract made from that template. Application code should not instantiate or subclass; instead, refer to the COMPANION field on generated Template subclasses. All protected members herein are considered part of the INTERNAL API. Every instance is either a ContractCompanion.WithKey or ContractCompanion.WithoutKey, depending on whether the template defined a key type. ContractCompanion.WithKey defines extra utilities for working with contract keys.

Java

Signature

public abstract class ContractCompanion<Ct,Id,Data> extends ContractTypeCompanion<Ct,Id,Data,Data>

Members

MemberLifecycleUpstream docs
fromJson-Open
fromJson(String)-Open
getValueDecoder()Added 3.5.1Open
valueDecoder(ContractCompanion<?, ? extends ContractId<Data>, Data>)-Open