This flow showcases how to use Corda's API, in both Java and Kotlin.
example-code/src/main/kotlin/net/corda/docs/FlowCookbook.kt
example-code/src/main/java/net/corda/docs/FlowCookbookJava.java