Class LegalEntityCapability


  • public class LegalEntityCapability
    extends Object
    LegalEntityCapability
    • Constructor Detail

      • LegalEntityCapability

        public LegalEntityCapability()
    • 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)
        Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.
        Parameters:
        allowed -
      • getAllowedLevel

        public LegalEntityCapability.AllowedLevelEnum getAllowedLevel()
        The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.
        Returns:
        allowedLevel
      • setAllowedLevel

        public void setAllowedLevel​(LegalEntityCapability.AllowedLevelEnum allowedLevel)
        The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.
        Parameters:
        allowedLevel -
      • getAllowedSettings

        public CapabilitySettings getAllowedSettings()
        Get allowedSettings
        Returns:
        allowedSettings
      • setAllowedSettings

        public void setAllowedSettings​(CapabilitySettings allowedSettings)
        allowedSettings
        Parameters:
        allowedSettings -
      • getRequested

        public Boolean getRequested()
        Indicates whether the capability is requested. To check whether the legal entity 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 legal entity is permitted to use the capability, refer to the `allowed` field.
        Parameters:
        requested -
      • getRequestedLevel

        public LegalEntityCapability.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​(LegalEntityCapability.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 -
      • getRequestedSettings

        public CapabilitySettings getRequestedSettings()
        Get requestedSettings
        Returns:
        requestedSettings
      • setRequestedSettings

        public void setRequestedSettings​(CapabilitySettings requestedSettings)
        requestedSettings
        Parameters:
        requestedSettings -
      • getTransferInstruments

        public List<SupportingEntityCapability> getTransferInstruments()
        The capability status of transfer instruments associated with the legal entity.
        Returns:
        transferInstruments
      • setTransferInstruments

        public void setTransferInstruments​(List<SupportingEntityCapability> transferInstruments)
        The capability status of transfer instruments associated with the legal entity.
        Parameters:
        transferInstruments -
      • 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 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. 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 LegalEntityCapability object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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