Class SupportingEntityCapability


  • public class SupportingEntityCapability
    extends Object
    SupportingEntityCapability
    • Constructor Detail

      • SupportingEntityCapability

        public SupportingEntityCapability()
    • Method Detail

      • getAllowed

        public Boolean getAllowed()
        Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities.
        Returns:
        allowed
      • setAllowed

        public void setAllowed​(Boolean allowed)
        Indicates whether the capability is allowed for the supporting entity. If a capability is allowed for a supporting entity but not for the parent legal entity, this means the legal entity has other supporting entities that failed verification. **You can use the allowed supporting entity** regardless of the verification status of other supporting entities.
        Parameters:
        allowed -
      • getId

        public String getId()
        Supporting entity reference
        Returns:
        id
      • setId

        public void setId​(String id)
        Supporting entity reference
        Parameters:
        id -
      • getRequested

        public Boolean getRequested()
        Indicates whether the supporting entity capability is requested.
        Returns:
        requested
      • setRequested

        public void setRequested​(Boolean requested)
        Indicates whether the supporting entity capability is requested.
        Parameters:
        requested -
      • getVerificationStatus

        public String getVerificationStatus()
        The status of the verification checks for the capability of the supporting entity. 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​(String verificationStatus)
        The status of the verification checks for the capability of the supporting entity. 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 SupportingEntityCapability object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static SupportingEntityCapability fromJson​(String jsonString)
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of SupportingEntityCapability given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SupportingEntityCapability
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to SupportingEntityCapability
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of SupportingEntityCapability to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException