public class SubAccount extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_EMAIL |
static String |
SERIALIZED_NAME_LOGIN_NAME |
static String |
SERIALIZED_NAME_PASSWORD |
static String |
SERIALIZED_NAME_REMARK |
static String |
SERIALIZED_NAME_STATE |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_USER_ID |
| Constructor and Description |
|---|
SubAccount() |
| Modifier and Type | Method and Description |
|---|---|
SubAccount |
email(String email) |
boolean |
equals(Object o) |
Long |
getCreateTime()
Created time
|
String |
getEmail()
The sub-account's email address.
|
String |
getLoginName()
Sub-account login name: Only letters, numbers and underscores are supported, and cannot contain other illegal characters
|
String |
getPassword()
The sub-account's password.
|
String |
getRemark()
custom text
|
Integer |
getState()
State: 1-normal, 2-locked\"
|
Integer |
getType()
\"Sub-account type: 1 - sub-account, 3 - cross margin account
|
Long |
getUserId()
The user id of the sub-account
|
int |
hashCode() |
SubAccount |
loginName(String loginName) |
SubAccount |
password(String password) |
SubAccount |
remark(String remark) |
void |
setEmail(String email) |
void |
setLoginName(String loginName) |
void |
setPassword(String password) |
void |
setRemark(String remark) |
void |
setType(Integer type) |
String |
toString() |
SubAccount |
type(Integer type) |
public static final String SERIALIZED_NAME_REMARK
public static final String SERIALIZED_NAME_LOGIN_NAME
public static final String SERIALIZED_NAME_PASSWORD
public static final String SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_CREATE_TIME
public SubAccount remark(String remark)
public void setRemark(String remark)
public SubAccount loginName(String loginName)
public String getLoginName()
public void setLoginName(String loginName)
public SubAccount password(String password)
@Nullable public String getPassword()
public void setPassword(String password)
public SubAccount email(String email)
@Nullable public String getEmail()
public void setEmail(String email)
public SubAccount type(Integer type)
@Nullable public Integer getType()
public void setType(Integer type)
Copyright © 2023. All rights reserved.