Package software.xdev.brevo.model
Class CreateDoiContact
java.lang.Object
software.xdev.brevo.model.CreateDoiContact
CreateDoiContact
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludeListIdsItem(Long excludeListIdsItem) addIncludeListIdsItem(Long includeListIdsItem) attributes(Map<String, Object> attributes) booleanexcludeListIds(List<Long> excludeListIds) Pass the set of attributes and their values.getEmail()Email address where the confirmation email will be sent.Lists under user account where contact should not be addedLists under user account where contact should be addedURL of the web page that user will be redirected to after clicking on the double opt in URL.Id of the Double opt-in (DOI) templateinthashCode()includeListIds(List<Long> includeListIds) putAttributesItem(String key, Object attributesItem) redirectionUrl(String redirectionUrl) voidsetAttributes(Map<String, Object> attributes) voidvoidsetExcludeListIds(List<Long> excludeListIds) voidsetIncludeListIds(List<Long> includeListIds) voidsetRedirectionUrl(String redirectionUrl) voidsetTemplateId(Long templateId) templateId(Long templateId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_INCLUDE_LIST_IDS
- See Also:
-
JSON_PROPERTY_EXCLUDE_LIST_IDS
- See Also:
-
JSON_PROPERTY_TEMPLATE_ID
- See Also:
-
JSON_PROPERTY_REDIRECTION_URL
- See Also:
-
-
Constructor Details
-
CreateDoiContact
public CreateDoiContact()
-
-
Method Details
-
email
-
getEmail
Email address where the confirmation email will be sent. This email address will be the identifier for all other contact attributes.- Returns:
-
setEmail
-
attributes
-
putAttributesItem
-
getAttributes
Pass the set of attributes and their values. **These attributes must be present in your Brevo account**. For eg. **{'FNAME':'Elly', 'LNAME':'Roger', 'COUNTRIES':['India','China']}**- Returns:
- attributes
-
setAttributes
-
includeListIds
-
addIncludeListIdsItem
-
getIncludeListIds
Lists under user account where contact should be added- Returns:
- includeListIds
-
setIncludeListIds
-
excludeListIds
-
addExcludeListIdsItem
-
getExcludeListIds
Lists under user account where contact should not be added- Returns:
- excludeListIds
-
setExcludeListIds
-
templateId
-
getTemplateId
Id of the Double opt-in (DOI) template- Returns:
- templateId
-
setTemplateId
-
redirectionUrl
-
getRedirectionUrl
URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag **{{ params.DOIurl }}**.- Returns:
- redirectionUrl
-
setRedirectionUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-