Class VerificationDeadline
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.VerificationDeadline
-
public class VerificationDeadline extends Object
VerificationDeadline
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerificationDeadline.CapabilitiesEnumGets or Sets capabilities
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITIESstatic StringJSON_PROPERTY_ENTITY_IDSstatic StringJSON_PROPERTY_EXPIRES_AT
-
Constructor Summary
Constructors Constructor Description VerificationDeadline()VerificationDeadline(List<VerificationDeadline.CapabilitiesEnum> capabilities, List<String> entityIds, OffsetDateTime expiresAt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this VerificationDeadline object is equal to o.static VerificationDeadlinefromJson(String jsonString)Create an instance of VerificationDeadline given an JSON stringList<VerificationDeadline.CapabilitiesEnum>getCapabilities()The list of capabilities that will be disallowed if information is not reviewed by the time of the deadlineList<String>getEntityIds()The unique identifiers of the legal entity or supporting entities that the deadline applies toOffsetDateTimegetExpiresAt()The date that verification is due by before capabilities are disallowed.inthashCode()StringtoJson()Convert an instance of VerificationDeadline to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITIES
public static final String JSON_PROPERTY_CAPABILITIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_IDS
public static final String JSON_PROPERTY_ENTITY_IDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPIRES_AT
public static final String JSON_PROPERTY_EXPIRES_AT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VerificationDeadline
public VerificationDeadline()
-
VerificationDeadline
public VerificationDeadline(List<VerificationDeadline.CapabilitiesEnum> capabilities, List<String> entityIds, OffsetDateTime expiresAt)
-
-
Method Detail
-
getCapabilities
public List<VerificationDeadline.CapabilitiesEnum> getCapabilities()
The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline- Returns:
- capabilities
-
getEntityIds
public List<String> getEntityIds()
The unique identifiers of the legal entity or supporting entities that the deadline applies to- Returns:
- entityIds
-
getExpiresAt
public OffsetDateTime getExpiresAt()
The date that verification is due by before capabilities are disallowed.- Returns:
- expiresAt
-
equals
public boolean equals(Object o)
Return true if this VerificationDeadline object is equal to o.
-
fromJson
public static VerificationDeadline fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of VerificationDeadline given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerificationDeadline
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to VerificationDeadline
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of VerificationDeadline to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-