Class GeneratePciDescriptionResponse
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.GeneratePciDescriptionResponse
-
public class GeneratePciDescriptionResponse extends Object
GeneratePciDescriptionResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENTstatic StringJSON_PROPERTY_LANGUAGEstatic StringJSON_PROPERTY_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)Return true if this GeneratePciDescriptionResponse object is equal to 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)The generated questionnaires in a base64 encoded format.voidsetLanguage(String language)The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire.voidsetPciTemplateReferences(List<String> pciTemplateReferences)The array of Adyen-generated unique identifiers for the questionnaires.StringtoJson()Convert an instance of GeneratePciDescriptionResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PCI_TEMPLATE_REFERENCES
public static final String JSON_PROPERTY_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)
The generated questionnaires in a base64 encoded format.- Parameters:
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)
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**.- Parameters:
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
-
setPciTemplateReferences
public void setPciTemplateReferences(List<String> pciTemplateReferences)
The array of Adyen-generated unique identifiers for the questionnaires.- Parameters:
pciTemplateReferences-
-
equals
public boolean equals(Object o)
Return true if this GeneratePciDescriptionResponse object is equal to o.
-
fromJson
public static GeneratePciDescriptionResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GeneratePciDescriptionResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GeneratePciDescriptionResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GeneratePciDescriptionResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GeneratePciDescriptionResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-