Package io.moov.sdk.models.components
Class TermsOfService
- java.lang.Object
-
- io.moov.sdk.models.components.TermsOfService
-
public class TermsOfService extends java.lang.ObjectTermsOfServiceDescribes the acceptance of the Terms of Service.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTermsOfService.Builder
-
Constructor Summary
Constructors Constructor Description TermsOfService(java.time.OffsetDateTime acceptedDate, java.lang.String acceptedIP)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.OffsetDateTimeacceptedDate()The date and time the terms of service were accepted.java.lang.StringacceptedIP()The IP address from which the terms of service were accepted.static TermsOfService.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()TermsOfServicewithAcceptedDate(java.time.OffsetDateTime acceptedDate)The date and time the terms of service were accepted.TermsOfServicewithAcceptedIP(java.lang.String acceptedIP)The IP address from which the terms of service were accepted.
-
-
-
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.
-
builder
public static TermsOfService.Builder builder()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-