Package io.moov.sdk.models.components
Class ManualTermsOfService
- java.lang.Object
-
- io.moov.sdk.models.components.ManualTermsOfService
-
public class ManualTermsOfService extends java.lang.ObjectManualTermsOfServiceDescribes the acceptance of the Terms of Service. All data is required, and must be from the user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManualTermsOfService.Builder
-
Constructor Summary
Constructors Constructor Description ManualTermsOfService(java.time.OffsetDateTime acceptedDate, java.lang.String acceptedIP, java.lang.String acceptedUserAgent, java.lang.String acceptedDomain)
-
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.StringacceptedDomain()java.lang.StringacceptedIP()The IP address from which the terms of service were accepted.java.lang.StringacceptedUserAgent()The user-agent of the user making the request.static ManualTermsOfService.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()ManualTermsOfServicewithAcceptedDate(java.time.OffsetDateTime acceptedDate)The date and time the terms of service were accepted.ManualTermsOfServicewithAcceptedDomain(java.lang.String acceptedDomain)ManualTermsOfServicewithAcceptedIP(java.lang.String acceptedIP)The IP address from which the terms of service were accepted.ManualTermsOfServicewithAcceptedUserAgent(java.lang.String acceptedUserAgent)The user-agent of the user making the request.
-
-
-
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.
-
acceptedUserAgent
public java.lang.String acceptedUserAgent()
The user-agent of the user making the request.
-
acceptedDomain
public java.lang.String acceptedDomain()
-
builder
public static ManualTermsOfService.Builder builder()
-
withAcceptedDate
public ManualTermsOfService withAcceptedDate(java.time.OffsetDateTime acceptedDate)
The date and time the terms of service were accepted.
-
withAcceptedIP
public ManualTermsOfService withAcceptedIP(java.lang.String acceptedIP)
The IP address from which the terms of service were accepted.
-
withAcceptedUserAgent
public ManualTermsOfService withAcceptedUserAgent(java.lang.String acceptedUserAgent)
The user-agent of the user making the request.
-
withAcceptedDomain
public ManualTermsOfService withAcceptedDomain(java.lang.String acceptedDomain)
-
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
-
-