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)
      • getId

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

        public void setId​(String 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)
      • getTermsOfServiceDocumentId

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

        public void setTermsOfServiceDocumentId​(String termsOfServiceDocumentId)
      • 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