Package com.adyen.model.balanceplatform
Class AccountSupportingEntityCapability
- java.lang.Object
-
- com.adyen.model.balanceplatform.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()AccountSupportingEntityCapability(Boolean allowed, AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel, String id, AccountSupportingEntityCapability.VerificationStatusEnum verificationStatus)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountSupportingEntityCapabilityenabled(Boolean enabled)Indicates whether the capability is 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()AccountSupportingEntityCapabilityrequested(Boolean requested)Indicates whether the capability is requested.AccountSupportingEntityCapabilityrequestedLevel(AccountSupportingEntityCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.voidsetEnabled(Boolean enabled)Indicates whether the capability is enabled.voidsetRequested(Boolean requested)Indicates whether the capability is requested.voidsetRequestedLevel(AccountSupportingEntityCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.StringtoJson()Convert an instance of AccountSupportingEntityCapability to an JSON stringStringtoString()
-
-
-
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
-
-
Constructor Detail
-
AccountSupportingEntityCapability
public AccountSupportingEntityCapability()
-
AccountSupportingEntityCapability
public AccountSupportingEntityCapability(Boolean allowed, AccountSupportingEntityCapability.AllowedLevelEnum allowedLevel, String id, AccountSupportingEntityCapability.VerificationStatusEnum verificationStatus)
-
-
Method Detail
-
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 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.
-
getAllowedLevel
public AccountSupportingEntityCapability.AllowedLevelEnum getAllowedLevel()
The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- allowedLevel The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.
-
enabled
public AccountSupportingEntityCapability enabled(Boolean enabled)
Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.- Parameters:
enabled- Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.- Returns:
- the current
AccountSupportingEntityCapabilityinstance, 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 Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
-
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- Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
-
getId
public String getId()
The ID of the supporting entity.- Returns:
- id The ID of the supporting entity.
-
requested
public AccountSupportingEntityCapability 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- Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.- Returns:
- the current
AccountSupportingEntityCapabilityinstance, 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 Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.
-
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- Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field.
-
requestedLevel
public AccountSupportingEntityCapability requestedLevel(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- 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:
- the current
AccountSupportingEntityCapabilityinstance, allowing for method chaining
-
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 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**.
-
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- 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**.
-
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 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.
-
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
-
-