Class GetPciQuestionnaireResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GetPciQuestionnaireResponse
-
public class GetPciQuestionnaireResponse extends Object
GetPciQuestionnaireResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetPciQuestionnaireResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTENTstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_VALID_UNTIL
-
Constructor Summary
Constructors Constructor Description GetPciQuestionnaireResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPciQuestionnaireResponsecontent(byte[] content)GetPciQuestionnaireResponsecreatedAt(OffsetDateTime createdAt)booleanequals(Object o)static GetPciQuestionnaireResponsefromJson(String jsonString)Create an instance of GetPciQuestionnaireResponse given an JSON stringbyte[]getContent()The generated questionnaire in a base64 encoded format.OffsetDateTimegetCreatedAt()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()GetPciQuestionnaireResponseid(String id)voidsetContent(byte[] content)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(String id)voidsetValidUntil(OffsetDateTime validUntil)StringtoJson()Convert an instance of GetPciQuestionnaireResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundGetPciQuestionnaireResponsevalidUntil(OffsetDateTime validUntil)
-
-
-
Field Detail
-
SERIALIZED_NAME_CONTENT
public static final String SERIALIZED_NAME_CONTENT
- See Also:
- Constant Field Values
-
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
-
content
public GetPciQuestionnaireResponse content(byte[] content)
-
getContent
public byte[] getContent()
The generated questionnaire in a base64 encoded format.- Returns:
- content
-
setContent
public void setContent(byte[] content)
-
createdAt
public GetPciQuestionnaireResponse 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 GetPciQuestionnaireResponse id(String id)
-
getId
public String getId()
The unique identifier of the signed questionnaire.- Returns:
- id
-
setId
public void setId(String id)
-
validUntil
public GetPciQuestionnaireResponse 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 GetPciQuestionnaireResponse
-
fromJson
public static GetPciQuestionnaireResponse fromJson(String jsonString) throws IOException
Create an instance of GetPciQuestionnaireResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetPciQuestionnaireResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetPciQuestionnaireResponse
-
toJson
public String toJson()
Convert an instance of GetPciQuestionnaireResponse to an JSON string- Returns:
- JSON string
-
-