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)The date the questionnaire was created, in ISO 8601 extended format.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)The unique identifier of the signed questionnaire.voidsetCreatedAt(OffsetDateTime createdAt)The date the questionnaire was created, in ISO 8601 extended format.voidsetId(String id)The unique identifier of the signed questionnaire.voidsetValidUntil(OffsetDateTime validUntil)The expiration date of the questionnaire, in ISO 8601 extended format.StringtoJson()Convert an instance of PciDocumentInfo to an JSON stringStringtoString()PciDocumentInfovalidUntil(OffsetDateTime validUntil)The expiration date of the questionnaire, in ISO 8601 extended format.
-
-
-
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)
The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Parameters:
createdAt-- Returns:
- the current
PciDocumentInfoinstance, allowing for method chaining
-
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)
The date the questionnaire was created, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Parameters:
createdAt-
-
id
public PciDocumentInfo id(String id)
The unique identifier of the signed questionnaire.- Parameters:
id-- Returns:
- the current
PciDocumentInfoinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the signed questionnaire.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the signed questionnaire.- Parameters:
id-
-
validUntil
public PciDocumentInfo validUntil(OffsetDateTime validUntil)
The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Parameters:
validUntil-- Returns:
- the current
PciDocumentInfoinstance, allowing for method chaining
-
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)
The expiration date of the questionnaire, in ISO 8601 extended format. For example, 2022-12-18T10:15:30+01:00- Parameters:
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
-
-