Class AccountCapabilityData


  • public class AccountCapabilityData
    extends Object
    AccountCapabilityData
    • Constructor Detail

      • AccountCapabilityData

        public AccountCapabilityData()
    • Method Detail

      • 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)
      • 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)
      • getCapability

        public String getCapability()
        The name of the capability. For example, **sendToTransferInstrument**.
        Returns:
        capability
      • setCapability

        public void setCapability​(String capability)
      • 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
      • getRequested

        public Boolean getRequested()
        Indicates whether you requested the capability.
        Returns:
        requested
      • setRequested

        public void setRequested​(Boolean requested)
      • 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)
      • 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)
      • equals

        public boolean equals​(Object o)
        Return true if this AccountCapabilityData object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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