> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

# InterfaceCompanion

> Metadata and utilities associated with an interface as a whole. Its subclasses serve to disambiguate various generated toInterface overloads.

## InterfaceCompanion - stable

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/InterfaceCompanion.html)

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
public abstract class InterfaceCompanion<I,Id,View> extends ContractTypeCompanion<Contract<Id,View>,Id,I,View>
```

**Members**

| Docs                                                                                                                                                                                      | Member                           | Introduced | Deprecated | Removed |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/InterfaceCompanion.html#fromCreatedEvent%28com.daml.ledger.javaapi.data.CreatedEvent%29) | `fromCreatedEvent(CreatedEvent)` | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/InterfaceCompanion.html#fromJson%28java.lang.String%29)                                  | `fromJson(String)`               | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/InterfaceCompanion.html#valueDecoder)                                                    | `valueDecoder`                   | `3.4.8`    | -          | -       |
