Class MerchantUser

java.lang.Object
com.blockchyp.client.dto.MerchantUser

public class MerchantUser extends Object
Details about a merchant user.
  • Constructor Details

    • MerchantUser

      public MerchantUser()
  • Method Details

    • setTest

      public void setTest(boolean value)
      Sets whether or not these results are for test or live merchants.
      Parameters:
      value - whether or not these results are for test or live merchants.
    • isTest

      public boolean isTest()
      Gets whether or not these results are for test or live merchants.
      Returns:
      whether or not these results are for test or live merchants.
    • setId

      public void setId(String value)
      Sets the user's primary key.
      Parameters:
      value - the user's primary key.
    • getId

      public String getId()
      Gets the user's primary key.
      Returns:
      the user's primary key.
    • setFirstName

      public void setFirstName(String value)
      Sets the user's first name.
      Parameters:
      value - the user's first name.
    • getFirstName

      public String getFirstName()
      Gets the user's first name.
      Returns:
      the user's first name.
    • setLastName

      public void setLastName(String value)
      Sets the user's last name.
      Parameters:
      value - the user's last name.
    • getLastName

      public String getLastName()
      Gets the user's last name.
      Returns:
      the user's last name.
    • setEmail

      public void setEmail(String value)
      Sets the user's email address.
      Parameters:
      value - the user's email address.
    • getEmail

      public String getEmail()
      Gets the user's email address.
      Returns:
      the user's email address.
    • setStatus

      public void setStatus(String value)
      Sets the user account status.
      Parameters:
      value - the user account status.
    • getStatus

      public String getStatus()
      Gets the user account status.
      Returns:
      the user account status.
    • setType

      public void setType(String value)
      Sets the type of user account.
      Parameters:
      value - the type of user account.
    • getType

      public String getType()
      Gets the type of user account.
      Returns:
      the type of user account.
    • setRoles

      public void setRoles(Collection<String> value)
      Sets the role codes assigned to this user.
      Parameters:
      value - the role codes assigned to this user.
    • getRoles

      public Collection<String> getRoles()
      Gets the role codes assigned to this user.
      Returns:
      the role codes assigned to this user.
    • setLocked

      public void setLocked(boolean value)
      Sets whether or not this user account is locked.
      Parameters:
      value - whether or not this user account is locked.
    • isLocked

      public boolean isLocked()
      Gets whether or not this user account is locked.
      Returns:
      whether or not this user account is locked.
    • addRole

      public void addRole(String value)
      Adds a the role codes assigned to this user.
      Parameters:
      value - the role codes assigned to this user.