Class VerificationDeadline
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.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()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationDeadlineaddCapabilitiesItem(VerificationDeadline.CapabilitiesEnum capabilitiesItem)VerificationDeadlineaddEntityIdsItem(String entityIdsItem)VerificationDeadlinecapabilities(List<VerificationDeadline.CapabilitiesEnum> capabilities)VerificationDeadlineentityIds(List<String> entityIds)booleanequals(Object o)Return true if this VerificationDeadline object is equal to o.VerificationDeadlineexpiresAt(OffsetDateTime expiresAt)static VerificationDeadlinefromJson(String jsonString)Create an instance of VerificationDeadline given an JSON stringList<VerificationDeadline.CapabilitiesEnum>getCapabilities()The names of the capabilities to be disallowed.List<String>getEntityIds()The unique identifiers of the bank account(s) that the deadline applies toOffsetDateTimegetExpiresAt()The date that verification is due by before capabilities are disallowed.inthashCode()voidsetCapabilities(List<VerificationDeadline.CapabilitiesEnum> capabilities)The names of the capabilities to be disallowed.voidsetEntityIds(List<String> entityIds)The unique identifiers of the bank account(s) that the deadline applies tovoidsetExpiresAt(OffsetDateTime expiresAt)The date that verification is due by before capabilities are disallowed.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
-
-
Method Detail
-
capabilities
public VerificationDeadline capabilities(List<VerificationDeadline.CapabilitiesEnum> capabilities)
-
addCapabilitiesItem
public VerificationDeadline addCapabilitiesItem(VerificationDeadline.CapabilitiesEnum capabilitiesItem)
-
getCapabilities
public List<VerificationDeadline.CapabilitiesEnum> getCapabilities()
The names of the capabilities to be disallowed.- Returns:
- capabilities
-
setCapabilities
public void setCapabilities(List<VerificationDeadline.CapabilitiesEnum> capabilities)
The names of the capabilities to be disallowed.- Parameters:
capabilities-
-
entityIds
public VerificationDeadline entityIds(List<String> entityIds)
-
addEntityIdsItem
public VerificationDeadline addEntityIdsItem(String entityIdsItem)
-
getEntityIds
public List<String> getEntityIds()
The unique identifiers of the bank account(s) that the deadline applies to- Returns:
- entityIds
-
setEntityIds
public void setEntityIds(List<String> entityIds)
The unique identifiers of the bank account(s) that the deadline applies to- Parameters:
entityIds-
-
expiresAt
public VerificationDeadline expiresAt(OffsetDateTime expiresAt)
-
getExpiresAt
public OffsetDateTime getExpiresAt()
The date that verification is due by before capabilities are disallowed.- Returns:
- expiresAt
-
setExpiresAt
public void setExpiresAt(OffsetDateTime expiresAt)
The date that verification is due by before capabilities are disallowed.- Parameters:
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
-
-