Class CreateUserResponse


  • public class CreateUserResponse
    extends Object
    CreateUserResponse
    • Constructor Detail

      • CreateUserResponse

        public CreateUserResponse()
    • Method Detail

      • getLinks

        public Links getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(Links links)
        links
        Parameters:
        links -
      • getAccountGroups

        public List<String> getAccountGroups()
        The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.
        Returns:
        accountGroups
      • setAccountGroups

        public void setAccountGroups​(List<String> accountGroups)
        The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.
        Parameters:
        accountGroups -
      • getActive

        public Boolean getActive()
        Indicates whether this user is active.
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
        Indicates whether this user is active.
        Parameters:
        active -
      • getApps

        public List<String> getApps()
        Set of apps available to this user
        Returns:
        apps
      • setApps

        public void setApps​(List<String> apps)
        Set of apps available to this user
        Parameters:
        apps -
      • getEmail

        public String getEmail()
        The email address of the user.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        The email address of the user.
        Parameters:
        email -
      • getId

        public String getId()
        The unique identifier of the user.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the user.
        Parameters:
        id -
      • getName

        public Name getName()
        Get name
        Returns:
        name
      • setName

        public void setName​(Name name)
        name
        Parameters:
        name -
      • getRoles

        public List<String> getRoles()
        The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
        Returns:
        roles
      • setRoles

        public void setRoles​(List<String> roles)
        The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
        Parameters:
        roles -
      • getTimeZoneCode

        public String getTimeZoneCode()
        The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.
        Returns:
        timeZoneCode
      • setTimeZoneCode

        public void setTimeZoneCode​(String timeZoneCode)
        The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.
        Parameters:
        timeZoneCode -
      • getUsername

        public String getUsername()
        The username for this user.
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
        The username for this user.
        Parameters:
        username -
      • equals

        public boolean equals​(Object o)
        Return true if this CreateUserResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static CreateUserResponse fromJson​(String jsonString)
                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CreateUserResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CreateUserResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CreateUserResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CreateUserResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException