Package com.adyen.model.balanceplatform
Class AccountHolderInfo
- java.lang.Object
-
- com.adyen.model.balanceplatform.AccountHolderInfo
-
public class AccountHolderInfo extends Object
AccountHolderInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountHolderInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BALANCE_PLATFORMstatic StringSERIALIZED_NAME_CAPABILITIESstatic StringSERIALIZED_NAME_CONTACT_DETAILSstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_LEGAL_ENTITY_IDstatic StringSERIALIZED_NAME_REFERENCEstatic StringSERIALIZED_NAME_TIME_ZONE
-
Constructor Summary
Constructors Constructor Description AccountHolderInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolderInfobalancePlatform(String balancePlatform)AccountHolderInfocapabilities(Map<String,AccountHolderCapability> capabilities)AccountHolderInfocontactDetails(ContactDetails contactDetails)AccountHolderInfodescription(String description)booleanequals(Object o)static AccountHolderInfofromJson(String jsonString)Create an instance of AccountHolderInfo given an JSON stringStringgetBalancePlatform()The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs.Map<String,AccountHolderCapability>getCapabilities()Contains key-value pairs that specify the actions that an account holder can do in your platform.ContactDetailsgetContactDetails()Get contactDetailsStringgetDescription()Your description for the account holder, maximum 300 characters.StringgetLegalEntityId()The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) associated with the account holder.StringgetReference()Your reference for the account holder, maximum 150 characters.StringgetTimeZone()The [time zone](https://www.iana.org/time-zones) of the account holder.inthashCode()AccountHolderInfolegalEntityId(String legalEntityId)AccountHolderInfoputCapabilitiesItem(String key, AccountHolderCapability capabilitiesItem)AccountHolderInforeference(String reference)voidsetBalancePlatform(String balancePlatform)voidsetCapabilities(Map<String,AccountHolderCapability> capabilities)voidsetContactDetails(ContactDetails contactDetails)voidsetDescription(String description)voidsetLegalEntityId(String legalEntityId)voidsetReference(String reference)voidsetTimeZone(String timeZone)AccountHolderInfotimeZone(String timeZone)StringtoJson()Convert an instance of AccountHolderInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BALANCE_PLATFORM
public static final String SERIALIZED_NAME_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAPABILITIES
public static final String SERIALIZED_NAME_CAPABILITIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTACT_DETAILS
public static final String SERIALIZED_NAME_CONTACT_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LEGAL_ENTITY_ID
public static final String SERIALIZED_NAME_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME_ZONE
public static final String SERIALIZED_NAME_TIME_ZONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
balancePlatform
public AccountHolderInfo balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
-
capabilities
public AccountHolderInfo capabilities(Map<String,AccountHolderCapability> capabilities)
-
putCapabilitiesItem
public AccountHolderInfo putCapabilitiesItem(String key, AccountHolderCapability capabilitiesItem)
-
getCapabilities
public Map<String,AccountHolderCapability> getCapabilities()
Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.- Returns:
- capabilities
-
setCapabilities
public void setCapabilities(Map<String,AccountHolderCapability> capabilities)
-
contactDetails
public AccountHolderInfo contactDetails(ContactDetails contactDetails)
-
getContactDetails
public ContactDetails getContactDetails()
Get contactDetails- Returns:
- contactDetails
-
setContactDetails
public void setContactDetails(ContactDetails contactDetails)
-
description
public AccountHolderInfo description(String description)
-
getDescription
public String getDescription()
Your description for the account holder, maximum 300 characters.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
legalEntityId
public AccountHolderInfo legalEntityId(String legalEntityId)
-
getLegalEntityId
public String getLegalEntityId()
The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder.- Returns:
- legalEntityId
-
setLegalEntityId
public void setLegalEntityId(String legalEntityId)
-
reference
public AccountHolderInfo reference(String reference)
-
getReference
public String getReference()
Your reference for the account holder, maximum 150 characters.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
timeZone
public AccountHolderInfo timeZone(String timeZone)
-
getTimeZone
public String getTimeZone()
The [time zone](https://www.iana.org/time-zones) of the account holder. For example, **Europe/Amsterdam**. If not set, the time zone of the balance account will be used. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).- Returns:
- timeZone
-
setTimeZone
public void setTimeZone(String timeZone)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to AccountHolderInfo
-
fromJson
public static AccountHolderInfo fromJson(String jsonString) throws IOException
Create an instance of AccountHolderInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderInfo
- Throws:
IOException- if the JSON string is invalid with respect to AccountHolderInfo
-
toJson
public String toJson()
Convert an instance of AccountHolderInfo to an JSON string- Returns:
- JSON string
-
-