Package software.xdev.brevo.model
Class CreateChild
java.lang.Object
software.xdev.brevo.model.CreateChild
CreateChild
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumLanguage of the child account -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompanyName(String companyName) booleanCompany name to use to create the child accountgetEmail()Email address to create the child accountFirst name to use to create the child accountLanguage of the child accountLast name to use to create the child accountPassword for the child account to logininthashCode()language(CreateChild.LanguageEnum language) voidsetCompanyName(String companyName) voidvoidsetFirstName(String firstName) voidsetLanguage(CreateChild.LanguageEnum language) voidsetLastName(String lastName) voidsetPassword(String password) 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_FIRST_NAME
- See Also:
-
JSON_PROPERTY_LAST_NAME
- See Also:
-
JSON_PROPERTY_COMPANY_NAME
- See Also:
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
-
Constructor Details
-
CreateChild
public CreateChild()
-
-
Method Details
-
email
-
getEmail
Email address to create the child account- Returns:
-
setEmail
-
firstName
-
getFirstName
First name to use to create the child account- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name to use to create the child account- Returns:
- lastName
-
setLastName
-
companyName
-
getCompanyName
Company name to use to create the child account- Returns:
- companyName
-
setCompanyName
-
password
-
getPassword
Password for the child account to login- Returns:
- password
-
setPassword
-
language
-
getLanguage
Language of the child account- Returns:
- language
-
setLanguage
-
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
-