Class AccountSupportingEntityCapability


  • public class AccountSupportingEntityCapability
    extends Object
    AccountSupportingEntityCapability
    • 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 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 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 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 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 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 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.
      • includeNullValues

        public AccountSupportingEntityCapability includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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