Class AccountHolderCapability
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.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)AccountHolderCapabilityallowedLevel(AccountHolderCapability.AllowedLevelEnum allowedLevel)AccountHolderCapabilityallowedSettings(CapabilitySettings allowedSettings)AccountHolderCapabilityenabled(Boolean 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()Get 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()Get 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)AccountHolderCapabilityrequested(Boolean requested)AccountHolderCapabilityrequestedLevel(AccountHolderCapability.RequestedLevelEnum requestedLevel)AccountHolderCapabilityrequestedSettings(CapabilitySettings requestedSettings)voidsetAllowed(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)AccountHolderCapabilityverificationStatus(AccountHolderCapability.VerificationStatusEnum verificationStatus)
-
-
-
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)
-
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)
-
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)
-
getAllowedSettings
public CapabilitySettings getAllowedSettings()
Get allowedSettings- Returns:
- allowedSettings
-
setAllowedSettings
public void setAllowedSettings(CapabilitySettings allowedSettings)
allowedSettings- Parameters:
allowedSettings-
-
enabled
public AccountHolderCapability enabled(Boolean enabled)
-
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)
-
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)
-
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)
-
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)
-
getRequestedSettings
public CapabilitySettings getRequestedSettings()
Get requestedSettings- Returns:
- requestedSettings
-
setRequestedSettings
public void setRequestedSettings(CapabilitySettings requestedSettings)
requestedSettings- Parameters:
requestedSettings-
-
transferInstruments
public AccountHolderCapability transferInstruments(List<AccountSupportingEntityCapability> transferInstruments)
-
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)
-
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
-
-