Package software.xdev.brevo.model
Class CreateSubAccount
java.lang.Object
software.xdev.brevo.model.CreateSubAccount
CreateSubAccount
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSet the language of the sub-account -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupIdsItem(String groupIdsItem) companyName(String companyName) booleanSet the name of the sub-account companygetEmail()Email address for the organizationSet the group(s) for the sub-accountSet the language of the sub-accountSet the timezone of the sub-accountinthashCode()language(CreateSubAccount.LanguageEnum language) voidsetCompanyName(String companyName) voidvoidsetGroupIds(List<String> groupIds) voidsetLanguage(CreateSubAccount.LanguageEnum language) voidsetTimezone(String timezone) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_COMPANY_NAME
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_GROUP_IDS
- See Also:
-
-
Constructor Details
-
CreateSubAccount
public CreateSubAccount()
-
-
Method Details
-
companyName
-
getCompanyName
Set the name of the sub-account company- Returns:
- companyName
-
setCompanyName
-
email
-
getEmail
Email address for the organization- Returns:
-
setEmail
-
language
-
getLanguage
Set the language of the sub-account- Returns:
- language
-
setLanguage
-
timezone
-
getTimezone
Set the timezone of the sub-account- Returns:
- timezone
-
setTimezone
-
groupIds
-
addGroupIdsItem
-
getGroupIds
Set the group(s) for the sub-account- Returns:
- groupIds
-
setGroupIds
-
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
-