Class CreateSubAccount

java.lang.Object
software.xdev.brevo.model.CreateSubAccount

public class CreateSubAccount extends Object
CreateSubAccount
  • Field Details

  • Constructor Details

    • CreateSubAccount

      public CreateSubAccount()
  • Method Details

    • companyName

      public CreateSubAccount companyName(@Nonnull String companyName)
    • getCompanyName

      @Nonnull public String getCompanyName()
      Set the name of the sub-account company
      Returns:
      companyName
    • setCompanyName

      public void setCompanyName(@Nonnull String companyName)
    • email

      public CreateSubAccount email(@Nonnull String email)
    • getEmail

      @Nonnull public String getEmail()
      Email address for the organization
      Returns:
      email
    • setEmail

      public void setEmail(@Nonnull String email)
    • language

      public CreateSubAccount language(@Nullable CreateSubAccount.LanguageEnum language)
    • getLanguage

      @Nullable public CreateSubAccount.LanguageEnum getLanguage()
      Set the language of the sub-account
      Returns:
      language
    • setLanguage

      public void setLanguage(@Nullable CreateSubAccount.LanguageEnum language)
    • timezone

      public CreateSubAccount timezone(@Nullable String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      Set the timezone of the sub-account
      Returns:
      timezone
    • setTimezone

      public void setTimezone(@Nullable String timezone)
    • groupIds

      public CreateSubAccount groupIds(@Nullable List<String> groupIds)
    • addGroupIdsItem

      public CreateSubAccount addGroupIdsItem(String groupIdsItem)
    • getGroupIds

      @Nullable public List<String> getGroupIds()
      Set the group(s) for the sub-account
      Returns:
      groupIds
    • setGroupIds

      public void setGroupIds(@Nullable List<String> groupIds)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string