com.r3corda.contracts / Cash / generateIssue

# generateIssue

`fun generateIssue(tx: TransactionBuilder, issuanceDef: CashIssuanceDefinition, pennies: Long, owner: PublicKey, notary: Party): Unit`

Puts together an issuance transaction from the given template, that starts out being owned by the given pubkey.

`fun generateIssue(tx: TransactionBuilder, amount: Amount, at: PartyAndReference, owner: PublicKey, notary: Party): Unit`

Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.