ElasticEmail::ContactPayload Properties Name Type Description Notes email String Proper email address. status ContactStatus [optional][default to 'Transactional'] first_name String First name. [optional] last_name String Last name. [optional] custom_fields Hash<String, String> A key-value collection of custom contact fields which can be used in the system. Only already existing custom fields will be saved. [optional] consent ConsentData [optional] Example require 'ElasticEmail' instance = ElasticEmail::ContactPayload.new( email: mail@example.com, status: null, first_name: Fred, last_name: Flintstone, custom_fields: {"city":"New York","age":"34"}, consent: null )