Skip to content
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

Adds external id field to generic invoice entry #507

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

thenmaster
Copy link
Member

The purpose of this field to hold a reference passed by the clients of the lib to allow the identification of a given entry and match it to a representation held in the client

The purpose of this field to hold a reference passed by the clients of
the lib to allow the identification of a given entry and match it to a
representation held in the client
Replace toString with getIdentifier to avoid possible overrides and
implementation changes associated with toString

Replace Optional.of() with Optional.ofNullable() to avoid potential
problems with cases where we don't have an external id. Associated with
this, improve ExternalID implementation to return null when a null value
is passed to fromValue(...).
@thenmaster thenmaster merged commit 7963197 into master Jan 9, 2024
1 check passed
@thenmaster thenmaster deleted the add_external_id_to_invoice_entry branch January 9, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants