Class AccountSupportingEntityCapability


  • public class AccountSupportingEntityCapability
    extends Object
    AccountSupportingEntityCapability
    • Constructor Detail

      • AccountSupportingEntityCapability

        public AccountSupportingEntityCapability()
    • Method Detail

      • allowed

        public AccountSupportingEntityCapability allowed​(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 -
        Returns:
        the current AccountSupportingEntityCapability instance, allowing for method chaining
      • 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 -
      • 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)
        Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
        Parameters:
        enabled -
        Returns:
        the current AccountSupportingEntityCapability instance, 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
      • 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)
        The ID of the supporting entity.
        Parameters:
        id -
        Returns:
        the current AccountSupportingEntityCapability instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current AccountSupportingEntityCapability instance, 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
      • 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)
        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 -
        Returns:
        the current AccountSupportingEntityCapability instance, 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
      • 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)
        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 -
        Returns:
        the current AccountSupportingEntityCapability instance, allowing for method chaining
      • 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.
        Overrides:
        equals in class Object
      • hashCode

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