Class PciDocumentInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.PciDocumentInfo
-
public class PciDocumentInfo extends Object
PciDocumentInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_VALID_UNTIL
-
Constructor Summary
Constructors Constructor Description PciDocumentInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PciDocumentInfocreatedAt(OffsetDateTime createdAt)booleanequals(Object o)Return true if this PciDocumentInfo object is equal to o.static PciDocumentInfofromJson(String jsonString)Create an instance of PciDocumentInfo given an JSON stringOffsetDateTimegetCreatedAt()The date the questionnaire was created, in ISO 8601 extended format.StringgetId()The unique identifier of the signed questionnaire.OffsetDateTimegetValidUntil()The expiration date of the questionnaire, in ISO 8601 extended format.inthashCode()PciDocumentInfoid(String id)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(String id)voidsetValidUntil(OffsetDateTime validUntil)StringtoJson()Convert an instance of PciDocumentInfo to an JSON stringStringtoString()PciDocumentInfovalidUntil(OffsetDateTime validUntil)
-
-
-
Field Detail
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALID_UNTIL
public static final String JSON_PROPERTY_VALID_UNTIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public PciDocumentInfo createdAt(OffsetDateTime createdAt)
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
id
public PciDocumentInfo id(String id)
-
getId
public String getId()
The unique identifier of the signed questionnaire.- Returns:
- id
-
setId
public void setId(String id)
-
validUntil
public PciDocumentInfo validUntil(OffsetDateTime validUntil)
-
getValidUntil
public OffsetDateTime getValidUntil()
The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Returns:
- validUntil
-
setValidUntil
public void setValidUntil(OffsetDateTime validUntil)
-
equals
public boolean equals(Object o)
Return true if this PciDocumentInfo object is equal to o.
-
fromJson
public static PciDocumentInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PciDocumentInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PciDocumentInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PciDocumentInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PciDocumentInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-