Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Managed to implement the payment obligation contract with an array of structs. This requires the latest version of web3: 1.0.0-beta.36. and I am using 2 version of web3 in truffle. This is also valid for metamask as it does not support web3 1.0.
We need to check that the AbiEncoder from abigen supports this.
This PR includes multiple issues from the backlog:
-Check payment obligation mint parameters against business logic #38: It is missing the document type and collaborator and I suggest we open another issue for that or move what remains in Payment obligation minting should check invoice type and collaborator #35 as we can not implement it now