Class PciDocumentInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.PciDocumentInfo
-
public class PciDocumentInfo extends Object
PciDocumentInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPciDocumentInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_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)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()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundPciDocumentInfovalidUntil(OffsetDateTime validUntil)
-
-
-
Field Detail
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALID_UNTIL
public static final String SERIALIZED_NAME_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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to PciDocumentInfo
-
fromJson
public static PciDocumentInfo fromJson(String jsonString) throws IOException
Create an instance of PciDocumentInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PciDocumentInfo
- Throws:
IOException- if the JSON string is invalid with respect to PciDocumentInfo
-
toJson
public String toJson()
Convert an instance of PciDocumentInfo to an JSON string- Returns:
- JSON string
-
-