fun attachment(attachmentId: SecureHash): Unit
Adds an Attachment reference to the transaction.
attachmentId - The hash of the attachment, possibly returned by LedgerDSLInterpreter.attachment.
attachmentId