Class GetPciQuestionnaireResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GetPciQuestionnaireResponse
-
public class GetPciQuestionnaireResponse extends Object
GetPciQuestionnaireResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENTstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_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)Return true if this GetPciQuestionnaireResponse object is equal to 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()GetPciQuestionnaireResponsevalidUntil(OffsetDateTime validUntil)
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
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
-
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)
-
equals
public boolean equals(Object o)
Return true if this GetPciQuestionnaireResponse object is equal to o.
-
fromJson
public static GetPciQuestionnaireResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetPciQuestionnaireResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetPciQuestionnaireResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetPciQuestionnaireResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetPciQuestionnaireResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-