Class GetTermsOfServiceDocumentRequest


  • public class GetTermsOfServiceDocumentRequest
    extends Object
    GetTermsOfServiceDocumentRequest
    • Constructor Detail

      • GetTermsOfServiceDocumentRequest

        public GetTermsOfServiceDocumentRequest()
    • Method Detail

      • getLanguage

        public String getLanguage()
        The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.
        Returns:
        language
      • setLanguage

        public void setLanguage​(String language)
        The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.
        Parameters:
        language -
      • getType

        public GetTermsOfServiceDocumentRequest.TypeEnum getType()
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr**
        Returns:
        type
      • setType

        public void setType​(GetTermsOfServiceDocumentRequest.TypeEnum type)
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr**
        Parameters:
        type -
      • equals

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

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

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

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