Is there a way to set specific fields of a state? I have a state of the type Payment, with the fields Payment Type, Value and Date. So, how can I set this Payment State by applying values to the fields?
This is easy if I am creating a payment, but I just want to set a state of the type Payment, and not create a payment. Is there a way to do it?