Skip to content

v2.0.0 Bugfix update - Improve support for Record Multiple Fields

Compare
Choose a tag to compare
@Crim Crim released this 05 Apr 01:19
· 34 commits to master since this release
d8a6495

2.0.0 (03/05/2020)

  • ISSUE-50 Improve support for record multiple fields.

Breaking Change

In order to better support record multiple value custom fields, the accessor on Prospect for getCustomFields() has been changed FROM
public Map<String, String> getCustomFields() TO public Map<String, ProspectCustomFieldValue> getCustomFields()

For custom fields which are NOT record multiple value custom fields the accessor public String getCustomField(final String customFieldName) method will continue to return the stored value for the custom field.

For custom fields which ARE record multiple value custom fields the accessor public String getCustomField(final String customFieldName) method will only return the first stored value. You can use the new accessor
public List<String> getCustomFieldValues(final String customFieldName) to get all stored values for record multiple value custom fields.