We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TMF648 has QuotePrice and TMF663 has CartPrice.
Both of these structures have similar requirements, including tax free and tax inc pricing and associated functions.
This should be refactored to pull this into a Trait that is then implemented by both structs.
Further tmflib-macro can be updated to provide default implementation of the trait functions.
The text was updated successfully, but these errors were encountered:
@ignazio-castrogiovanni Something worth looking at perhaps?
Sorry, something went wrong.
I can't see TMF663 CartPrice in master. Is it still to be implemented? Where can I look at the specifics?
It's still in a PR, I was working on conversion between ShoppingCart and a product order when I noticed the refactor.
@ignazio-castrogiovanni Happy to take you though my approach for this.
rruckley
Successfully merging a pull request may close this issue.
TMF648 has QuotePrice and TMF663 has CartPrice.
Both of these structures have similar requirements, including tax free and tax inc pricing and associated functions.
This should be refactored to pull this into a Trait that is then implemented by both structs.
Further tmflib-macro can be updated to provide default implementation of the trait functions.
The text was updated successfully, but these errors were encountered: