Remove TODO (#11446)

Fixes #11425

changelog_begin
changelog_end
This commit is contained in:
Stefano Baghino 2021-10-28 13:11:07 +02:00 committed by GitHub
parent d8b92b7c99
commit 6c45f099bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,6 @@ The Java codegen generates three classes for a Daml template:
**TemplateName.ContractId**
Used whenever a contract ID of the corresponding template is used in another template or record, for example: ``data Foo = Foo (ContractId Bar)``. This class also provides methods to generate an ``ExerciseCommand`` for each choice that can be sent to the ledger with the Java Bindings.
.. TODO: refer to another section explaining exactly that, when we have it.
**TemplateName.Contract**
Represents an actual contract on the ledger. It contains a field for the contract ID (of type ``TemplateName.ContractId``) and a field for the template data (of type ``TemplateName``). With the static method ``TemplateName.Contract.fromCreatedEvent``, you can deserialize a `CreatedEvent <https://docs.daml.com/app-dev/bindings-java/javadocs/com/daml/ledger/javaapi/data/CreatedEvent.html>`__ to an instance of ``TemplateName.Contract``.