v2.0.0 Bugfix update - Improve support for Record Multiple Fields
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.