Package com.adyen.model.balanceplatform
Class AccountHolderCapability
- java.lang.Object
-
- com.adyen.model.balanceplatform.AccountHolderCapability
-
public class AccountHolderCapability extends Object
AccountHolderCapability
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountHolderCapability.AllowedLevelEnumThe capability level that is allowed for the account holder.static classAccountHolderCapability.RequestedLevelEnumThe requested level of the capability.static classAccountHolderCapability.VerificationStatusEnumThe status of the verification checks for the capability.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_ALLOWED_LEVELstatic StringJSON_PROPERTY_ALLOWED_SETTINGSstatic StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_PROBLEMSstatic StringJSON_PROPERTY_REQUESTEDstatic StringJSON_PROPERTY_REQUESTED_LEVELstatic StringJSON_PROPERTY_REQUESTED_SETTINGSstatic StringJSON_PROPERTY_TRANSFER_INSTRUMENTSstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description AccountHolderCapability()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolderCapabilityaddProblemsItem(CapabilityProblem problemsItem)AccountHolderCapabilityaddTransferInstrumentsItem(AccountSupportingEntityCapability transferInstrumentsItem)AccountHolderCapabilityallowed(Boolean allowed)Indicates whether the capability is allowed.AccountHolderCapabilityallowedLevel(AccountHolderCapability.AllowedLevelEnum allowedLevel)The capability level that is allowed for the account holder.AccountHolderCapabilityallowedSettings(CapabilitySettings allowedSettings)allowedSettingsAccountHolderCapabilityenabled(Boolean enabled)Indicates whether the capability is enabled.booleanequals(Object o)Return true if this AccountHolderCapability object is equal to o.static AccountHolderCapabilityfromJson(String jsonString)Create an instance of AccountHolderCapability given an JSON stringBooleangetAllowed()Indicates whether the capability is allowed.AccountHolderCapability.AllowedLevelEnumgetAllowedLevel()The capability level that is allowed for the account holder.CapabilitySettingsgetAllowedSettings()allowedSettingsBooleangetEnabled()Indicates whether the capability is enabled.List<CapabilityProblem>getProblems()Contains verification errors and the actions that you can take to resolve them.BooleangetRequested()Indicates whether the capability is requested.AccountHolderCapability.RequestedLevelEnumgetRequestedLevel()The requested level of the capability.CapabilitySettingsgetRequestedSettings()requestedSettingsList<AccountSupportingEntityCapability>getTransferInstruments()Contains the status of the transfer instruments associated with this capability.AccountHolderCapability.VerificationStatusEnumgetVerificationStatus()The status of the verification checks for the capability.inthashCode()AccountHolderCapabilityproblems(List<CapabilityProblem> problems)Contains verification errors and the actions that you can take to resolve them.AccountHolderCapabilityrequested(Boolean requested)Indicates whether the capability is requested.AccountHolderCapabilityrequestedLevel(AccountHolderCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.AccountHolderCapabilityrequestedSettings(CapabilitySettings requestedSettings)requestedSettingsvoidsetAllowed(Boolean allowed)Indicates whether the capability is allowed.voidsetAllowedLevel(AccountHolderCapability.AllowedLevelEnum allowedLevel)The capability level that is allowed for the account holder.voidsetAllowedSettings(CapabilitySettings allowedSettings)allowedSettingsvoidsetEnabled(Boolean enabled)Indicates whether the capability is enabled.voidsetProblems(List<CapabilityProblem> problems)Contains verification errors and the actions that you can take to resolve them.voidsetRequested(Boolean requested)Indicates whether the capability is requested.voidsetRequestedLevel(AccountHolderCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.voidsetRequestedSettings(CapabilitySettings requestedSettings)requestedSettingsvoidsetTransferInstruments(List<AccountSupportingEntityCapability> transferInstruments)Contains the status of the transfer instruments associated with this capability.voidsetVerificationStatus(AccountHolderCapability.VerificationStatusEnum verificationStatus)The status of the verification checks for the capability.StringtoJson()Convert an instance of AccountHolderCapability to an JSON stringStringtoString()AccountHolderCapabilitytransferInstruments(List<AccountSupportingEntityCapability> transferInstruments)Contains the status of the transfer instruments associated with this capability.AccountHolderCapabilityverificationStatus(AccountHolderCapability.VerificationStatusEnum verificationStatus)The status of the verification checks for the capability.
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED_LEVEL
public static final String JSON_PROPERTY_ALLOWED_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED_SETTINGS
public static final String JSON_PROPERTY_ALLOWED_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROBLEMS
public static final String JSON_PROPERTY_PROBLEMS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED
public static final String JSON_PROPERTY_REQUESTED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED_LEVEL
public static final String JSON_PROPERTY_REQUESTED_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED_SETTINGS
public static final String JSON_PROPERTY_REQUESTED_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_INSTRUMENTS
public static final String JSON_PROPERTY_TRANSFER_INSTRUMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERIFICATION_STATUS
public static final String JSON_PROPERTY_VERIFICATION_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowed
public AccountHolderCapability allowed(Boolean allowed)
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.- Parameters:
allowed-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getAllowed
public Boolean getAllowed()
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.- Returns:
- allowed
-
setAllowed
public void setAllowed(Boolean allowed)
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful and the account holder is permitted to use the capability.- Parameters:
allowed-
-
allowedLevel
public AccountHolderCapability allowedLevel(AccountHolderCapability.AllowedLevelEnum allowedLevel)
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
allowedLevel-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getAllowedLevel
public AccountHolderCapability.AllowedLevelEnum getAllowedLevel()
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- allowedLevel
-
setAllowedLevel
public void setAllowedLevel(AccountHolderCapability.AllowedLevelEnum allowedLevel)
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
allowedLevel-
-
allowedSettings
public AccountHolderCapability allowedSettings(CapabilitySettings allowedSettings)
allowedSettings- Parameters:
allowedSettings-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getAllowedSettings
public CapabilitySettings getAllowedSettings()
allowedSettings- Returns:
- allowedSettings
-
setAllowedSettings
public void setAllowedSettings(CapabilitySettings allowedSettings)
allowedSettings- Parameters:
allowedSettings-
-
enabled
public AccountHolderCapability enabled(Boolean enabled)
Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.- Parameters:
enabled-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getEnabled
public Boolean getEnabled()
Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.- Parameters:
enabled-
-
problems
public AccountHolderCapability problems(List<CapabilityProblem> problems)
Contains verification errors and the actions that you can take to resolve them.- Parameters:
problems-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
addProblemsItem
public AccountHolderCapability addProblemsItem(CapabilityProblem problemsItem)
-
getProblems
public List<CapabilityProblem> getProblems()
Contains verification errors and the actions that you can take to resolve them.- Returns:
- problems
-
setProblems
public void setProblems(List<CapabilityProblem> problems)
Contains verification errors and the actions that you can take to resolve them.- Parameters:
problems-
-
requested
public AccountHolderCapability requested(Boolean requested)
Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.- Parameters:
requested-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getRequested
public Boolean getRequested()
Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.- Returns:
- requested
-
setRequested
public void setRequested(Boolean requested)
Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.- Parameters:
requested-
-
requestedLevel
public AccountHolderCapability requestedLevel(AccountHolderCapability.RequestedLevelEnum requestedLevel)
The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
requestedLevel-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getRequestedLevel
public AccountHolderCapability.RequestedLevelEnum getRequestedLevel()
The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- requestedLevel
-
setRequestedLevel
public void setRequestedLevel(AccountHolderCapability.RequestedLevelEnum requestedLevel)
The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
requestedLevel-
-
requestedSettings
public AccountHolderCapability requestedSettings(CapabilitySettings requestedSettings)
requestedSettings- Parameters:
requestedSettings-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getRequestedSettings
public CapabilitySettings getRequestedSettings()
requestedSettings- Returns:
- requestedSettings
-
setRequestedSettings
public void setRequestedSettings(CapabilitySettings requestedSettings)
requestedSettings- Parameters:
requestedSettings-
-
transferInstruments
public AccountHolderCapability transferInstruments(List<AccountSupportingEntityCapability> transferInstruments)
Contains the status of the transfer instruments associated with this capability.- Parameters:
transferInstruments-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
addTransferInstrumentsItem
public AccountHolderCapability addTransferInstrumentsItem(AccountSupportingEntityCapability transferInstrumentsItem)
-
getTransferInstruments
public List<AccountSupportingEntityCapability> getTransferInstruments()
Contains the status of the transfer instruments associated with this capability.- Returns:
- transferInstruments
-
setTransferInstruments
public void setTransferInstruments(List<AccountSupportingEntityCapability> transferInstruments)
Contains the status of the transfer instruments associated with this capability.- Parameters:
transferInstruments-
-
verificationStatus
public AccountHolderCapability verificationStatus(AccountHolderCapability.VerificationStatusEnum verificationStatus)
The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.- Parameters:
verificationStatus-- Returns:
- the current
AccountHolderCapabilityinstance, allowing for method chaining
-
getVerificationStatus
public AccountHolderCapability.VerificationStatusEnum getVerificationStatus()
The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.- Returns:
- verificationStatus
-
setVerificationStatus
public void setVerificationStatus(AccountHolderCapability.VerificationStatusEnum verificationStatus)
The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.- Parameters:
verificationStatus-
-
equals
public boolean equals(Object o)
Return true if this AccountHolderCapability object is equal to o.
-
fromJson
public static AccountHolderCapability fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountHolderCapability given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountHolderCapability
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountHolderCapability
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountHolderCapability to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-