with New Owner And Amount
open override fun withNewOwnerAndAmount(newAmount: Amount<Issued<Obligation.Terms<P>>>, newOwner: AbstractParty): Obligation.State<P>
Copies the underlying data structure, replacing the amount and owner fields with the new values and leaving the rest (exitKeys) alone.