public class PartnerUser extends User
Modifier and Type | Class and Description |
---|---|
static class |
PartnerUser.Builder
Builder to make user construction easier.
|
Constructor and Description |
---|
PartnerUser()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static PartnerUser.Builder |
builder()
Returns a builder for the user.
|
boolean |
getOwner()
Returns
true if the user is an account owner. |
String |
getPassword()
Returns the password of the user.
|
void |
setOwner(boolean owner)
Set to
true if the user is an account owner. |
void |
setPassword(String password)
Sets the password of the user.
|
String |
toString()
Returns a string representation of the object.
|
getEmail, getFirstName, getLastName, getRole, setEmail, setFirstName, setLastName, setRole, setRole
getId, setId
public void setPassword(String password)
password
- The password of the userpublic String getPassword()
public void setOwner(boolean owner)
true
if the user is an account owner.owner
- true
if the user is an account ownerpublic boolean getOwner()
true
if the user is an account owner.true
if the user is an account ownerpublic String toString()
public static PartnerUser.Builder builder()
Copyright © 2018. All rights reserved.