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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()VerificationDeadlineincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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 The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline
-
getEntityIds
public List<String> getEntityIds()
The unique identifiers of the legal entity or supporting entities that the deadline applies to- Returns:
- entityIds The unique identifiers of the legal entity or supporting entities that the deadline applies to
-
getExpiresAt
public OffsetDateTime getExpiresAt()
The date that verification is due by before capabilities are disallowed.- Returns:
- expiresAt The date that verification is due by before capabilities are disallowed.
-
includeNullValues
public VerificationDeadline includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this VerificationDeadline object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-