fun generatePaymentNetting(tx: TransactionBuilder, issued: Issued<P>, notary: Party, vararg states: State<P>): Unit