public class TelephoneNumberTypeConverter extends Object
Constructor and Description |
---|
TelephoneNumberTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<TelephoneNumberType> |
convert(Map<String,Object> map)
This method creates an OrganizationType from the values in the provided map.
|
public Optional<TelephoneNumberType> convert(Map<String,Object> map)
COUNTRY_CODE = "countryCode"; PHONE_TYPE = "phoneType"; AREA_CODE = "areaCode"; NUMBER = "number"; EXTENSION = "extension";
map
- the Map representation of the OrganizationType to generate, null returns empty
OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.