Package com.adyen.model.management
Class UpdateCompanyUserRequest
- java.lang.Object
-
- com.adyen.model.management.UpdateCompanyUserRequest
-
public class UpdateCompanyUserRequest extends Object
UpdateCompanyUserRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_GROUPSstatic StringJSON_PROPERTY_ACTIVEstatic StringJSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTSstatic StringJSON_PROPERTY_EMAILstatic StringJSON_PROPERTY_LOGIN_METHODstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_ROLESstatic StringJSON_PROPERTY_TIME_ZONE_CODE
-
Constructor Summary
Constructors Constructor Description UpdateCompanyUserRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCompanyUserRequestaccountGroups(List<String> accountGroups)The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.UpdateCompanyUserRequestactive(Boolean active)Indicates whether this user is active.UpdateCompanyUserRequestaddAccountGroupsItem(String accountGroupsItem)UpdateCompanyUserRequestaddAssociatedMerchantAccountsItem(String associatedMerchantAccountsItem)UpdateCompanyUserRequestaddRolesItem(String rolesItem)UpdateCompanyUserRequestassociatedMerchantAccounts(List<String> associatedMerchantAccounts)The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.UpdateCompanyUserRequestemail(String email)The email address of the user.booleanequals(Object o)Return true if this UpdateCompanyUserRequest object is equal to o.static UpdateCompanyUserRequestfromJson(String jsonString)Create an instance of UpdateCompanyUserRequest given an JSON stringList<String>getAccountGroups()The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.BooleangetActive()Indicates whether this user is active.List<String>getAssociatedMerchantAccounts()The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.StringgetEmail()The email address of the user.StringgetLoginMethod()The requested login method for the user.Name2getName()nameList<String>getRoles()The list of [roles](https://docs.adyen.com/account/user-roles) for this user.StringgetTimeZoneCode()The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user.inthashCode()UpdateCompanyUserRequestloginMethod(String loginMethod)The requested login method for the user.UpdateCompanyUserRequestname(Name2 name)nameUpdateCompanyUserRequestroles(List<String> roles)The list of [roles](https://docs.adyen.com/account/user-roles) for this user.voidsetAccountGroups(List<String> accountGroups)The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.voidsetActive(Boolean active)Indicates whether this user is active.voidsetAssociatedMerchantAccounts(List<String> associatedMerchantAccounts)The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.voidsetEmail(String email)The email address of the user.voidsetLoginMethod(String loginMethod)The requested login method for the user.voidsetName(Name2 name)namevoidsetRoles(List<String> roles)The list of [roles](https://docs.adyen.com/account/user-roles) for this user.voidsetTimeZoneCode(String timeZoneCode)The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user.UpdateCompanyUserRequesttimeZoneCode(String timeZoneCode)The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user.StringtoJson()Convert an instance of UpdateCompanyUserRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_GROUPS
public static final String JSON_PROPERTY_ACCOUNT_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_ACTIVE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS
public static final String JSON_PROPERTY_ASSOCIATED_MERCHANT_ACCOUNTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGIN_METHOD
public static final String JSON_PROPERTY_LOGIN_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLES
public static final String JSON_PROPERTY_ROLES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIME_ZONE_CODE
public static final String JSON_PROPERTY_TIME_ZONE_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountGroups
public UpdateCompanyUserRequest accountGroups(List<String> accountGroups)
The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.- Parameters:
accountGroups-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
addAccountGroupsItem
public UpdateCompanyUserRequest addAccountGroupsItem(String accountGroupsItem)
-
getAccountGroups
public List<String> getAccountGroups()
The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.- Returns:
- accountGroups
-
setAccountGroups
public void setAccountGroups(List<String> accountGroups)
The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.- Parameters:
accountGroups-
-
active
public UpdateCompanyUserRequest active(Boolean active)
Indicates whether this user is active.- Parameters:
active-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
getActive
public Boolean getActive()
Indicates whether this user is active.- Returns:
- active
-
setActive
public void setActive(Boolean active)
Indicates whether this user is active.- Parameters:
active-
-
associatedMerchantAccounts
public UpdateCompanyUserRequest associatedMerchantAccounts(List<String> associatedMerchantAccounts)
The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.- Parameters:
associatedMerchantAccounts-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
addAssociatedMerchantAccountsItem
public UpdateCompanyUserRequest addAssociatedMerchantAccountsItem(String associatedMerchantAccountsItem)
-
getAssociatedMerchantAccounts
public List<String> getAssociatedMerchantAccounts()
The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.- Returns:
- associatedMerchantAccounts
-
setAssociatedMerchantAccounts
public void setAssociatedMerchantAccounts(List<String> associatedMerchantAccounts)
The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) to associate the user with.- Parameters:
associatedMerchantAccounts-
-
email
public UpdateCompanyUserRequest email(String email)
The email address of the user.- Parameters:
email-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
getEmail
public String getEmail()
The email address of the user.- Returns:
-
setEmail
public void setEmail(String email)
The email address of the user.- Parameters:
email-
-
loginMethod
public UpdateCompanyUserRequest loginMethod(String loginMethod)
The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**- Parameters:
loginMethod-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
getLoginMethod
public String getLoginMethod()
The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**- Returns:
- loginMethod
-
setLoginMethod
public void setLoginMethod(String loginMethod)
The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**- Parameters:
loginMethod-
-
name
public UpdateCompanyUserRequest name(Name2 name)
name- Parameters:
name-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
getName
public Name2 getName()
name- Returns:
- name
-
setName
public void setName(Name2 name)
name- Parameters:
name-
-
roles
public UpdateCompanyUserRequest roles(List<String> roles)
The list of [roles](https://docs.adyen.com/account/user-roles) for this user.- Parameters:
roles-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
addRolesItem
public UpdateCompanyUserRequest addRolesItem(String rolesItem)
-
getRoles
public List<String> getRoles()
The list of [roles](https://docs.adyen.com/account/user-roles) for this user.- Returns:
- roles
-
setRoles
public void setRoles(List<String> roles)
The list of [roles](https://docs.adyen.com/account/user-roles) for this user.- Parameters:
roles-
-
timeZoneCode
public UpdateCompanyUserRequest timeZoneCode(String timeZoneCode)
The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.- Parameters:
timeZoneCode-- Returns:
- the current
UpdateCompanyUserRequestinstance, allowing for method chaining
-
getTimeZoneCode
public String getTimeZoneCode()
The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.- Returns:
- timeZoneCode
-
setTimeZoneCode
public void setTimeZoneCode(String timeZoneCode)
The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.- Parameters:
timeZoneCode-
-
equals
public boolean equals(Object o)
Return true if this UpdateCompanyUserRequest object is equal to o.
-
fromJson
public static UpdateCompanyUserRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdateCompanyUserRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateCompanyUserRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdateCompanyUserRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdateCompanyUserRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-