Class AccountCapabilityData
- java.lang.Object
-
- com.adyen.model.managementwebhooks.AccountCapabilityData
-
public class AccountCapabilityData extends Object
AccountCapabilityData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_ALLOWED_LEVELstatic StringJSON_PROPERTY_CAPABILITYstatic StringJSON_PROPERTY_PROBLEMSstatic StringJSON_PROPERTY_REQUESTEDstatic StringJSON_PROPERTY_REQUESTED_LEVELstatic StringJSON_PROPERTY_VERIFICATION_DEADLINEstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description AccountCapabilityData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountCapabilityDataaddProblemsItem(CapabilityProblem problemsItem)AccountCapabilityDataallowed(Boolean allowed)AccountCapabilityDataallowedLevel(String allowedLevel)AccountCapabilityDatacapability(String capability)booleanequals(Object o)Return true if this AccountCapabilityData object is equal to o.static AccountCapabilityDatafromJson(String jsonString)Create an instance of AccountCapabilityData given an JSON stringBooleangetAllowed()Indicates whether the capability is allowed.StringgetAllowedLevel()The allowed level of the capability.StringgetCapability()The name of the capability.List<CapabilityProblem>getProblems()List of entities that has problems with verification.BooleangetRequested()Indicates whether you requested the capability.StringgetRequestedLevel()The level that you requested for the capability.OffsetDateTimegetVerificationDeadline()The verification deadline for the capability that will be disallowed if verification errors are not resolved.StringgetVerificationStatus()The status of the verification checks for the capability.inthashCode()AccountCapabilityDataproblems(List<CapabilityProblem> problems)AccountCapabilityDatarequested(Boolean requested)AccountCapabilityDatarequestedLevel(String requestedLevel)voidsetAllowed(Boolean allowed)Indicates whether the capability is allowed.voidsetAllowedLevel(String allowedLevel)The allowed level of the capability.voidsetCapability(String capability)The name of the capability.voidsetProblems(List<CapabilityProblem> problems)List of entities that has problems with verification.voidsetRequested(Boolean requested)Indicates whether you requested the capability.voidsetRequestedLevel(String requestedLevel)The level that you requested for the capability.voidsetVerificationDeadline(OffsetDateTime verificationDeadline)The verification deadline for the capability that will be disallowed if verification errors are not resolved.voidsetVerificationStatus(String verificationStatus)The status of the verification checks for the capability.StringtoJson()Convert an instance of AccountCapabilityData to an JSON stringStringtoString()AccountCapabilityDataverificationDeadline(OffsetDateTime verificationDeadline)AccountCapabilityDataverificationStatus(String 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_CAPABILITY
public static final String JSON_PROPERTY_CAPABILITY
- 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_VERIFICATION_DEADLINE
public static final String JSON_PROPERTY_VERIFICATION_DEADLINE
- 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 AccountCapabilityData allowed(Boolean allowed)
-
getAllowed
public Boolean getAllowed()
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.- Returns:
- allowed
-
setAllowed
public void setAllowed(Boolean allowed)
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.- Parameters:
allowed-
-
allowedLevel
public AccountCapabilityData allowedLevel(String allowedLevel)
-
getAllowedLevel
public String getAllowedLevel()
The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- allowedLevel
-
setAllowedLevel
public void setAllowedLevel(String allowedLevel)
The allowed level of the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
allowedLevel-
-
capability
public AccountCapabilityData capability(String capability)
-
getCapability
public String getCapability()
The name of the capability. For example, **sendToTransferInstrument**.- Returns:
- capability
-
setCapability
public void setCapability(String capability)
The name of the capability. For example, **sendToTransferInstrument**.- Parameters:
capability-
-
problems
public AccountCapabilityData problems(List<CapabilityProblem> problems)
-
addProblemsItem
public AccountCapabilityData addProblemsItem(CapabilityProblem problemsItem)
-
getProblems
public List<CapabilityProblem> getProblems()
List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them.- Returns:
- problems
-
setProblems
public void setProblems(List<CapabilityProblem> problems)
List of entities that has problems with verification. The information includes the details of the errors and the actions that you can take to resolve them.- Parameters:
problems-
-
requested
public AccountCapabilityData requested(Boolean requested)
-
getRequested
public Boolean getRequested()
Indicates whether you requested the capability.- Returns:
- requested
-
setRequested
public void setRequested(Boolean requested)
Indicates whether you requested the capability.- Parameters:
requested-
-
requestedLevel
public AccountCapabilityData requestedLevel(String requestedLevel)
-
getRequestedLevel
public String getRequestedLevel()
The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.- Returns:
- requestedLevel
-
setRequestedLevel
public void setRequestedLevel(String requestedLevel)
The level that you requested for the capability. Some capabilities have different levels which correspond to thresholds. Higher levels may require additional checks and increased monitoring.Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
requestedLevel-
-
verificationDeadline
public AccountCapabilityData verificationDeadline(OffsetDateTime verificationDeadline)
-
getVerificationDeadline
public OffsetDateTime getVerificationDeadline()
The verification deadline for the capability that will be disallowed if verification errors are not resolved.- Returns:
- verificationDeadline
-
setVerificationDeadline
public void setVerificationDeadline(OffsetDateTime verificationDeadline)
The verification deadline for the capability that will be disallowed if verification errors are not resolved.- Parameters:
verificationDeadline-
-
verificationStatus
public AccountCapabilityData verificationStatus(String verificationStatus)
-
getVerificationStatus
public String 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 was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability.- Returns:
- verificationStatus
-
setVerificationStatus
public void setVerificationStatus(String 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 was successful. * **rejected**: Adyen checked the information and found reasons to not allow the capability.- Parameters:
verificationStatus-
-
equals
public boolean equals(Object o)
Return true if this AccountCapabilityData object is equal to o.
-
fromJson
public static AccountCapabilityData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountCapabilityData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountCapabilityData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountCapabilityData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountCapabilityData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-