Class SupportingEntityCapability
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.SupportingEntityCapability
-
public class SupportingEntityCapability extends Object
SupportingEntityCapability
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWEDstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_REQUESTEDstatic StringJSON_PROPERTY_VERIFICATION_STATUS
-
Constructor Summary
Constructors Constructor Description SupportingEntityCapability()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SupportingEntityCapabilityallowed(Boolean allowed)Indicates whether the capability is allowed for the supporting entity.booleanequals(Object o)Return true if this SupportingEntityCapability object is equal to o.static SupportingEntityCapabilityfromJson(String jsonString)Create an instance of SupportingEntityCapability given an JSON stringBooleangetAllowed()Indicates whether the capability is allowed for the supporting entity.StringgetId()Supporting entity referenceBooleangetRequested()Indicates whether the supporting entity capability is requested.StringgetVerificationStatus()The status of the verification checks for the capability of the supporting entity.inthashCode()SupportingEntityCapabilityid(String id)Supporting entity referenceSupportingEntityCapabilityrequested(Boolean requested)Indicates whether the supporting entity capability is requested.voidsetAllowed(Boolean allowed)Indicates whether the capability is allowed for the supporting entity.voidsetId(String id)Supporting entity referencevoidsetRequested(Boolean requested)Indicates whether the supporting entity capability is requested.voidsetVerificationStatus(String verificationStatus)The status of the verification checks for the capability of the supporting entity.StringtoJson()Convert an instance of SupportingEntityCapability to an JSON stringStringtoString()SupportingEntityCapabilityverificationStatus(String verificationStatus)The status of the verification checks for the capability of the supporting entity.
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REQUESTED
public static final String JSON_PROPERTY_REQUESTED
- 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 SupportingEntityCapability allowed(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-- Returns:
- the current
SupportingEntityCapabilityinstance, allowing for method chaining
-
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-
-
id
public SupportingEntityCapability id(String id)
Supporting entity reference- Parameters:
id-- Returns:
- the current
SupportingEntityCapabilityinstance, allowing for method chaining
-
getId
public String getId()
Supporting entity reference- Returns:
- id
-
setId
public void setId(String id)
Supporting entity reference- Parameters:
id-
-
requested
public SupportingEntityCapability requested(Boolean requested)
Indicates whether the supporting entity capability is requested.- Parameters:
requested-- Returns:
- the current
SupportingEntityCapabilityinstance, allowing for method chaining
-
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-
-
verificationStatus
public SupportingEntityCapability verificationStatus(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-- Returns:
- the current
SupportingEntityCapabilityinstance, allowing for method chaining
-
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.
-
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
-
-