I intend to implement the Amend Clause in the PurchaseOrder example. What are the steps do I need to follow? I think it’s something like that:
- Add the Amend class in the Clauses interface (just uncomment the code that it’s already there);
- Add the Amend command in the Commands interface (just uncomment the code that it’s already there);
- Create a function, something like a generateAmend in the PurchaseOrderState data class;
- Create a new flow for Amend;
- Expose a new API, invoking the flow created.
Am I in the right way?