public class PostalAddressTypeConverter extends Object
Constructor and Description |
---|
PostalAddressTypeConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<PostalAddressType> |
convert(Map<String,Object> map)
This method creates an PostalAddressType from the values in the provided map.
|
public Optional<PostalAddressType> convert(Map<String,Object> map)
CITY = "city"; COUNTRY = "country"; POSTAL_CODE = "postalCode"; STATE_OR_PROVINCE = "stateOrProvince"; STREET = "street"; STREET_NUMBER = "streetNumber";
map
- the Map representation of the PostalAddressType to generate, null returns empty
OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.