public final class Customerly.RegisterUserTask
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Customerly.RegisterUserTask |
attributes(java.util.HashMap<java.lang.String,java.lang.Object> attributes)
Optionally you can specify the user attributes
|
Customerly.RegisterUserTask |
company(java.util.HashMap<java.lang.String,java.lang.Object> company)
Optionally you can specify the user company
|
Customerly.RegisterUserTask |
name(java.lang.String name)
Optionally you can specify the user name
|
Customerly.RegisterUserTask |
user_id(java.lang.String user_id)
Optionally you can specify the user ID
|
@CheckResult @NonNull public Customerly.RegisterUserTask user_id(@NonNull java.lang.String user_id)
user_id
- The ID of the user@CheckResult @NonNull public Customerly.RegisterUserTask name(@NonNull java.lang.String name)
name
- The name of the user@CheckResult @NonNull public Customerly.RegisterUserTask attributes(@NonNull java.util.HashMap<java.lang.String,java.lang.Object> attributes) throws java.lang.IllegalArgumentException
attributes
- The attributes of the user. Can contain only String, char, int, long, float or double valuesjava.lang.IllegalArgumentException
- if the attributes map check fails@CheckResult @NonNull public Customerly.RegisterUserTask company(@NonNull java.util.HashMap<java.lang.String,java.lang.Object> company) throws java.lang.IllegalArgumentException
company
- The company of the user. The map must contain a String value with key "company_id" containing to the Company ID and a String value with key "name" containing the Company name. Can contain only String, char, int, long, float or double valuesjava.lang.IllegalArgumentException
- if the company map check fails