Class GeneratePciDescriptionResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GeneratePciDescriptionResponse
-
public class GeneratePciDescriptionResponse extends Object
GeneratePciDescriptionResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneratePciDescriptionResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTENTstatic StringSERIALIZED_NAME_LANGUAGEstatic StringSERIALIZED_NAME_PCI_TEMPLATE_REFERENCES
-
Constructor Summary
Constructors Constructor Description GeneratePciDescriptionResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratePciDescriptionResponseaddPciTemplateReferencesItem(String pciTemplateReferencesItem)GeneratePciDescriptionResponsecontent(byte[] content)booleanequals(Object o)static GeneratePciDescriptionResponsefromJson(String jsonString)Create an instance of GeneratePciDescriptionResponse given an JSON stringbyte[]getContent()The generated questionnaires in a base64 encoded format.StringgetLanguage()The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire.List<String>getPciTemplateReferences()The array of Adyen-generated unique identifiers for the questionnaires.inthashCode()GeneratePciDescriptionResponselanguage(String language)GeneratePciDescriptionResponsepciTemplateReferences(List<String> pciTemplateReferences)voidsetContent(byte[] content)voidsetLanguage(String language)voidsetPciTemplateReferences(List<String> pciTemplateReferences)StringtoJson()Convert an instance of GeneratePciDescriptionResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CONTENT
public static final String SERIALIZED_NAME_CONTENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LANGUAGE
public static final String SERIALIZED_NAME_LANGUAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PCI_TEMPLATE_REFERENCES
public static final String SERIALIZED_NAME_PCI_TEMPLATE_REFERENCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
content
public GeneratePciDescriptionResponse content(byte[] content)
-
getContent
public byte[] getContent()
The generated questionnaires in a base64 encoded format.- Returns:
- content
-
setContent
public void setContent(byte[] content)
-
language
public GeneratePciDescriptionResponse language(String language)
-
getLanguage
public String getLanguage()
The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
-
pciTemplateReferences
public GeneratePciDescriptionResponse pciTemplateReferences(List<String> pciTemplateReferences)
-
addPciTemplateReferencesItem
public GeneratePciDescriptionResponse addPciTemplateReferencesItem(String pciTemplateReferencesItem)
-
getPciTemplateReferences
public List<String> getPciTemplateReferences()
The array of Adyen-generated unique identifiers for the questionnaires.- Returns:
- pciTemplateReferences
-
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 GeneratePciDescriptionResponse
-
fromJson
public static GeneratePciDescriptionResponse fromJson(String jsonString) throws IOException
Create an instance of GeneratePciDescriptionResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneratePciDescriptionResponse
- Throws:
IOException- if the JSON string is invalid with respect to GeneratePciDescriptionResponse
-
toJson
public String toJson()
Convert an instance of GeneratePciDescriptionResponse to an JSON string- Returns:
- JSON string
-
-