Class AccountCapabilityData


  • public class AccountCapabilityData
    extends Object
    AccountCapabilityData
    • Constructor Detail

      • AccountCapabilityData

        public AccountCapabilityData()
    • Method Detail

      • allowed

        public AccountCapabilityData allowed​(Boolean allowed)
        Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.
        Parameters:
        allowed -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        The name of the capability. For example, **sendToTransferInstrument**.
        Parameters:
        capability -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        Indicates whether you requested the capability.
        Parameters:
        requested -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        The verification deadline for the capability that will be disallowed if verification errors are not resolved.
        Parameters:
        verificationDeadline -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current AccountCapabilityData instance, allowing for method chaining
      • 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.
        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