Class AccountSupportingEntityCapability
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.AccountSupportingEntityCapability
-
public class AccountSupportingEntityCapability extends Object
AccountSupportingEntityCapability
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountSupportingEntityCapability.AllowedLevelEnumThe capability level that is allowed for the account holder.static classAccountSupportingEntityCapability.RequestedLevelEnumThe requested level of the capability.static classAccountSupportingEntityCapability.VerificationStatusEnumThe status of the verification checks for the supporting entity capability.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_ALLOWED_LEVELstatic StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_REQUESTEDstatic StringJSON_PROPERTY_REQUESTED_LEVELstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description AccountSupportingEntityCapability()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountSupportingEntityCapabilityallowed(Boolean allowed)AccountSupportingEntityCapabilityallowedLevel(AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel)AccountSupportingEntityCapabilityenabled(Boolean enabled)booleanequals(Object o)Return true if this AccountSupportingEntityCapability object is equal to o.static AccountSupportingEntityCapabilityfromJson(String jsonString)Create an instance of AccountSupportingEntityCapability given an JSON stringBooleangetAllowed()Indicates whether the supporting entity capability is allowed.AccountSupportingEntityCapability.AllowedLevelEnumgetAllowedLevel()The capability level that is allowed for the account holder.BooleangetEnabled()Indicates whether the capability is enabled.StringgetId()The ID of the supporting entity.BooleangetRequested()Indicates whether the capability is requested.AccountSupportingEntityCapability.RequestedLevelEnumgetRequestedLevel()The requested level of the capability.AccountSupportingEntityCapability.VerificationStatusEnumgetVerificationStatus()The status of the verification checks for the supporting entity capability.inthashCode()AccountSupportingEntityCapabilityid(String id)AccountSupportingEntityCapabilityrequested(Boolean requested)AccountSupportingEntityCapabilityrequestedLevel(AccountSupportingEntityCapability.RequestedLevelEnum requestedLevel)voidsetAllowed(Boolean allowed)Indicates whether the supporting entity capability is allowed.voidsetAllowedLevel(AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel)The capability level that is allowed for the account holder.voidsetEnabled(Boolean enabled)Indicates whether the capability is enabled.voidsetId(String id)The ID of the supporting entity.voidsetRequested(Boolean requested)Indicates whether the capability is requested.voidsetRequestedLevel(AccountSupportingEntityCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.voidsetVerificationStatus(AccountSupportingEntityCapability.VerificationStatusEnum verificationStatus)The status of the verification checks for the supporting entity capability.StringtoJson()Convert an instance of AccountSupportingEntityCapability to an JSON stringStringtoString()AccountSupportingEntityCapabilityverificationStatus(AccountSupportingEntityCapability.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_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- 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_VERIFICATION_STATUS
public static final String JSON_PROPERTY_VERIFICATION_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowed
public AccountSupportingEntityCapability allowed(Boolean allowed)
-
getAllowed
public Boolean getAllowed()
Indicates whether the supporting entity 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 supporting entity 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 AccountSupportingEntityCapability allowedLevel(AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel)
-
getAllowedLevel
public AccountSupportingEntityCapability.AllowedLevelEnum getAllowedLevel()
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- allowedLevel
-
setAllowedLevel
public void setAllowedLevel(AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel)
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
allowedLevel-
-
enabled
public AccountSupportingEntityCapability 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-
-
id
public AccountSupportingEntityCapability id(String id)
-
getId
public String getId()
The ID of the supporting entity.- Returns:
- id
-
setId
public void setId(String id)
The ID of the supporting entity.- Parameters:
id-
-
requested
public AccountSupportingEntityCapability 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 AccountSupportingEntityCapability requestedLevel(AccountSupportingEntityCapability.RequestedLevelEnum requestedLevel)
-
getRequestedLevel
public AccountSupportingEntityCapability.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(AccountSupportingEntityCapability.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-
-
verificationStatus
public AccountSupportingEntityCapability verificationStatus(AccountSupportingEntityCapability.VerificationStatusEnum verificationStatus)
-
getVerificationStatus
public AccountSupportingEntityCapability.VerificationStatusEnum getVerificationStatus()
The status of the verification checks for the supporting entity 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(AccountSupportingEntityCapability.VerificationStatusEnum verificationStatus)
The status of the verification checks for the supporting entity 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 AccountSupportingEntityCapability object is equal to o.
-
fromJson
public static AccountSupportingEntityCapability fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountSupportingEntityCapability given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountSupportingEntityCapability
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountSupportingEntityCapability
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountSupportingEntityCapability to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-