Class GeneratePciDescriptionRequest


  • public class GeneratePciDescriptionRequest
    extends Object
    GeneratePciDescriptionRequest
    • Constructor Detail

      • GeneratePciDescriptionRequest

        public GeneratePciDescriptionRequest()
    • Method Detail

      • getAdditionalSalesChannels

        public List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> getAdditionalSalesChannels()
        An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
        Returns:
        additionalSalesChannels
      • setAdditionalSalesChannels

        public void setAdditionalSalesChannels​(List<GeneratePciDescriptionRequest.AdditionalSalesChannelsEnum> additionalSalesChannels)
        An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
        Parameters:
        additionalSalesChannels -
      • getLanguage

        public String getLanguage()
        Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.
        Returns:
        language
      • setLanguage

        public void setLanguage​(String language)
        Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.
        Parameters:
        language -
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static GeneratePciDescriptionRequest fromJson​(String jsonString)
                                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of GeneratePciDescriptionRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of GeneratePciDescriptionRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to GeneratePciDescriptionRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of GeneratePciDescriptionRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException