Class AcceptTermsOfServiceResponse


  • public class AcceptTermsOfServiceResponse
    extends Object
    AcceptTermsOfServiceResponse
    • Constructor Detail

      • AcceptTermsOfServiceResponse

        public AcceptTermsOfServiceResponse()
    • Method Detail

      • getAcceptedBy

        public String getAcceptedBy()
        The unique identifier of the user that accepted the Terms of Service.
        Returns:
        acceptedBy
      • setAcceptedBy

        public void setAcceptedBy​(String acceptedBy)
        The unique identifier of the user that accepted the Terms of Service.
        Parameters:
        acceptedBy -
      • getId

        public String getId()
        The unique identifier of the Terms of Service acceptance.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the Terms of Service acceptance.
        Parameters:
        id -
      • getIpAddress

        public String getIpAddress()
        The IP address of the user that accepted the Terms of Service.
        Returns:
        ipAddress
      • setIpAddress

        public void setIpAddress​(String ipAddress)
        The IP address of the user that accepted the Terms of Service.
        Parameters:
        ipAddress -
      • 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 AcceptTermsOfServiceResponse.TypeEnum getType()
        The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr**
        Returns:
        type
      • setType

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

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

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

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