Class TermsOfService


  • public class TermsOfService
    extends java.lang.Object
    TermsOfService

    Describes the acceptance of the Terms of Service.

    • Constructor Detail

      • TermsOfService

        public TermsOfService​(java.time.OffsetDateTime acceptedDate,
                              java.lang.String acceptedIP)
    • Method Detail

      • acceptedDate

        public java.time.OffsetDateTime acceptedDate()
        The date and time the terms of service were accepted.
      • acceptedIP

        public java.lang.String acceptedIP()
        The IP address from which the terms of service were accepted.
      • withAcceptedDate

        public TermsOfService withAcceptedDate​(java.time.OffsetDateTime acceptedDate)
        The date and time the terms of service were accepted.
      • withAcceptedIP

        public TermsOfService withAcceptedIP​(java.lang.String acceptedIP)
        The IP address from which the terms of service were accepted.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object