Package com.blockchyp.client.dto
Class MerchantUser
java.lang.Object
com.blockchyp.client.dto.MerchantUser
Details about a merchant user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a the role codes assigned to this user.getEmail()Gets the user's email address.Gets the user's first name.getId()Gets the user's primary key.Gets the user's last name.getRoles()Gets the role codes assigned to this user.Gets the user account status.getType()Gets the type of user account.booleanisLocked()Gets whether or not this user account is locked.booleanisTest()Gets whether or not these results are for test or live merchants.voidSets the user's email address.voidsetFirstName(String value) Sets the user's first name.voidSets the user's primary key.voidsetLastName(String value) Sets the user's last name.voidsetLocked(boolean value) Sets whether or not this user account is locked.voidsetRoles(Collection<String> value) Sets the role codes assigned to this user.voidSets the user account status.voidsetTest(boolean value) Sets whether or not these results are for test or live merchants.voidSets the type of user account.
-
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
Sets the user's primary key.- Parameters:
value- the user's primary key.
-
getId
Gets the user's primary key.- Returns:
- the user's primary key.
-
setFirstName
Sets the user's first name.- Parameters:
value- the user's first name.
-
getFirstName
Gets the user's first name.- Returns:
- the user's first name.
-
setLastName
Sets the user's last name.- Parameters:
value- the user's last name.
-
getLastName
Gets the user's last name.- Returns:
- the user's last name.
-
setEmail
Sets the user's email address.- Parameters:
value- the user's email address.
-
getEmail
Gets the user's email address.- Returns:
- the user's email address.
-
setStatus
Sets the user account status.- Parameters:
value- the user account status.
-
getStatus
Gets the user account status.- Returns:
- the user account status.
-
setType
Sets the type of user account.- Parameters:
value- the type of user account.
-
getType
Gets the type of user account.- Returns:
- the type of user account.
-
setRoles
Sets the role codes assigned to this user.- Parameters:
value- the role codes assigned to this user.
-
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
Adds a the role codes assigned to this user.- Parameters:
value- the role codes assigned to this user.
-