-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
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
Issue #458 Allow Multiple payment details for invoice #459
base: master
Are you sure you want to change the base?
Conversation
@Frgetg Good idea my issue is that you are changing public methods which would require a new major version of the software, can't you just add something like addPaymentTerms instead of changing setPaymentTerms to an array? |
I can change the setter, yes, however, the getter will always have to return the whole array, or the XML serialization wont access all PaymentTerms. And both a getPaymentTerms which always returns only the first one, and getAllPaymentTerms which returns everything feels rather hacky and error prone. |
|
1abdded
to
509b034
Compare
509b034
to
42e8f80
Compare
Hello @jstaerk I adapted the patchset according to your guidelines |
No description provided.