Class GetTermsOfServiceDocumentResponse


  • public class GetTermsOfServiceDocumentResponse
    extends Object
    GetTermsOfServiceDocumentResponse
    • Constructor Detail

      • GetTermsOfServiceDocumentResponse

        public GetTermsOfServiceDocumentResponse()
    • Method Detail

      • getDocument

        public byte[] getDocument()
        The Terms of Service document in Base64-encoded format.
        Returns:
        document
      • setDocument

        public void setDocument​(byte[] document)
        The Terms of Service document in Base64-encoded format.
        Parameters:
        document -
      • getId

        public String getId()
        The unique identifier of the legal entity.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the legal entity.
        Parameters:
        id -
      • getLanguage

        public String getLanguage()
        The language 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 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 -
      • getTermsOfServiceDocumentId

        public String getTermsOfServiceDocumentId()
        The unique identifier of the Terms of Service document.
        Returns:
        termsOfServiceDocumentId
      • setTermsOfServiceDocumentId

        public void setTermsOfServiceDocumentId​(String termsOfServiceDocumentId)
        The unique identifier of the Terms of Service document.
        Parameters:
        termsOfServiceDocumentId -
      • getType

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

        public void setType​(GetTermsOfServiceDocumentResponse.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 GetTermsOfServiceDocumentResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

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

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