Class GeneratePciDescriptionResponse


  • public class GeneratePciDescriptionResponse
    extends Object
    GeneratePciDescriptionResponse
    • Constructor Detail

      • GeneratePciDescriptionResponse

        public GeneratePciDescriptionResponse()
    • Method Detail

      • content

        public GeneratePciDescriptionResponse content​(byte[] content)
        The generated questionnaires in a base64 encoded format.
        Parameters:
        content -
        Returns:
        the current GeneratePciDescriptionResponse instance, allowing for method chaining
      • 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)
        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 -
        Returns:
        the current GeneratePciDescriptionResponse instance, allowing for method chaining
      • 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)
        The array of Adyen-generated unique identifiers for the questionnaires. If empty, the user is not required to sign questionnaires.
        Parameters:
        pciTemplateReferences -
        Returns:
        the current GeneratePciDescriptionResponse instance, allowing for method chaining
      • getPciTemplateReferences

        public List<String> getPciTemplateReferences()
        The array of Adyen-generated unique identifiers for the questionnaires. If empty, the user is not required to sign questionnaires.
        Returns:
        pciTemplateReferences
      • setPciTemplateReferences

        public void setPciTemplateReferences​(List<String> pciTemplateReferences)
        The array of Adyen-generated unique identifiers for the questionnaires. If empty, the user is not required to sign questionnaires.
        Parameters:
        pciTemplateReferences -
      • equals

        public boolean equals​(Object o)
        Return true if this GeneratePciDescriptionResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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