Class LegalEntityCapability
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.LegalEntityCapability
-
public class LegalEntityCapability extends Object
LegalEntityCapability
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegalEntityCapability.AllowedLevelEnumThe capability level that is allowed for the legal entity.static classLegalEntityCapability.RequestedLevelEnumThe requested level of the capability.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_ALLOWED_LEVELstatic StringJSON_PROPERTY_ALLOWED_SETTINGSstatic StringJSON_PROPERTY_REQUESTEDstatic StringJSON_PROPERTY_REQUESTED_LEVELstatic StringJSON_PROPERTY_REQUESTED_SETTINGSstatic StringJSON_PROPERTY_TRANSFER_INSTRUMENTSstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description LegalEntityCapability()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LegalEntityCapabilityaddTransferInstrumentsItem(SupportingEntityCapability transferInstrumentsItem)LegalEntityCapabilityallowed(Boolean allowed)Indicates whether the capability is allowed.LegalEntityCapabilityallowedLevel(LegalEntityCapability.AllowedLevelEnum allowedLevel)The capability level that is allowed for the legal entity.LegalEntityCapabilityallowedSettings(CapabilitySettings allowedSettings)allowedSettingsbooleanequals(Object o)Return true if this LegalEntityCapability object is equal to o.static LegalEntityCapabilityfromJson(String jsonString)Create an instance of LegalEntityCapability given an JSON stringBooleangetAllowed()Indicates whether the capability is allowed.LegalEntityCapability.AllowedLevelEnumgetAllowedLevel()The capability level that is allowed for the legal entity.CapabilitySettingsgetAllowedSettings()allowedSettingsBooleangetRequested()Indicates whether the capability is requested.LegalEntityCapability.RequestedLevelEnumgetRequestedLevel()The requested level of the capability.CapabilitySettingsgetRequestedSettings()requestedSettingsList<SupportingEntityCapability>getTransferInstruments()The capability status of transfer instruments associated with the legal entity.StringgetVerificationStatus()The status of the verification checks for the capability.inthashCode()LegalEntityCapabilityrequested(Boolean requested)Indicates whether the capability is requested.LegalEntityCapabilityrequestedLevel(LegalEntityCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.LegalEntityCapabilityrequestedSettings(CapabilitySettings requestedSettings)requestedSettingsvoidsetAllowed(Boolean allowed)Indicates whether the capability is allowed.voidsetAllowedLevel(LegalEntityCapability.AllowedLevelEnum allowedLevel)The capability level that is allowed for the legal entity.voidsetAllowedSettings(CapabilitySettings allowedSettings)allowedSettingsvoidsetRequested(Boolean requested)Indicates whether the capability is requested.voidsetRequestedLevel(LegalEntityCapability.RequestedLevelEnum requestedLevel)The requested level of the capability.voidsetRequestedSettings(CapabilitySettings requestedSettings)requestedSettingsvoidsetTransferInstruments(List<SupportingEntityCapability> transferInstruments)The capability status of transfer instruments associated with the legal entity.voidsetVerificationStatus(String verificationStatus)The status of the verification checks for the capability.StringtoJson()Convert an instance of LegalEntityCapability to an JSON stringStringtoString()LegalEntityCapabilitytransferInstruments(List<SupportingEntityCapability> transferInstruments)The capability status of transfer instruments associated with the legal entity.LegalEntityCapabilityverificationStatus(String verificationStatus)The status of the verification checks for the capability.
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED_LEVEL
public static final String JSON_PROPERTY_ALLOWED_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED_SETTINGS
public static final String JSON_PROPERTY_ALLOWED_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED
public static final String JSON_PROPERTY_REQUESTED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED_LEVEL
public static final String JSON_PROPERTY_REQUESTED_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED_SETTINGS
public static final String JSON_PROPERTY_REQUESTED_SETTINGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_INSTRUMENTS
public static final String JSON_PROPERTY_TRANSFER_INSTRUMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERIFICATION_STATUS
public static final String JSON_PROPERTY_VERIFICATION_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowed
public LegalEntityCapability allowed(Boolean allowed)
Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.- Parameters:
allowed-- Returns:
- the current
LegalEntityCapabilityinstance, 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 LegalEntityCapability allowedLevel(LegalEntityCapability.AllowedLevelEnum allowedLevel)
The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.- Parameters:
allowedLevel-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
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-
-
allowedSettings
public LegalEntityCapability allowedSettings(CapabilitySettings allowedSettings)
allowedSettings- Parameters:
allowedSettings-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
getAllowedSettings
public CapabilitySettings getAllowedSettings()
allowedSettings- Returns:
- allowedSettings
-
setAllowedSettings
public void setAllowedSettings(CapabilitySettings allowedSettings)
allowedSettings- Parameters:
allowedSettings-
-
requested
public LegalEntityCapability requested(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-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
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-
-
requestedLevel
public LegalEntityCapability requestedLevel(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-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
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-
-
requestedSettings
public LegalEntityCapability requestedSettings(CapabilitySettings requestedSettings)
requestedSettings- Parameters:
requestedSettings-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
getRequestedSettings
public CapabilitySettings getRequestedSettings()
requestedSettings- Returns:
- requestedSettings
-
setRequestedSettings
public void setRequestedSettings(CapabilitySettings requestedSettings)
requestedSettings- Parameters:
requestedSettings-
-
transferInstruments
public LegalEntityCapability transferInstruments(List<SupportingEntityCapability> transferInstruments)
The capability status of transfer instruments associated with the legal entity.- Parameters:
transferInstruments-- Returns:
- the current
LegalEntityCapabilityinstance, allowing for method chaining
-
addTransferInstrumentsItem
public LegalEntityCapability addTransferInstrumentsItem(SupportingEntityCapability transferInstrumentsItem)
-
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-
-
verificationStatus
public LegalEntityCapability 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 has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.- Parameters:
verificationStatus-- Returns:
- the current
LegalEntityCapabilityinstance, 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 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.
-
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
-
-