Package io.moov.sdk.models.components
Class ManualTermsOfServiceUpdate
- java.lang.Object
-
- io.moov.sdk.models.components.ManualTermsOfServiceUpdate
-
public class ManualTermsOfServiceUpdate extends java.lang.ObjectManualTermsOfServiceUpdateDescribes 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 classManualTermsOfServiceUpdate.Builder
-
Constructor Summary
Constructors Constructor Description ManualTermsOfServiceUpdate()ManualTermsOfServiceUpdate(java.util.Optional<java.time.OffsetDateTime> acceptedDate, java.util.Optional<java.lang.String> acceptedIP, java.util.Optional<java.lang.String> acceptedUserAgent, java.util.Optional<java.lang.String> acceptedDomain)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.time.OffsetDateTime>acceptedDate()The date and time the terms of service were accepted.java.util.Optional<java.lang.String>acceptedDomain()java.util.Optional<java.lang.String>acceptedIP()The IP address from which the terms of service were accepted.java.util.Optional<java.lang.String>acceptedUserAgent()The user-agent of the user making the request.static ManualTermsOfServiceUpdate.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()ManualTermsOfServiceUpdatewithAcceptedDate(java.time.OffsetDateTime acceptedDate)The date and time the terms of service were accepted.ManualTermsOfServiceUpdatewithAcceptedDate(java.util.Optional<java.time.OffsetDateTime> acceptedDate)The date and time the terms of service were accepted.ManualTermsOfServiceUpdatewithAcceptedDomain(java.lang.String acceptedDomain)ManualTermsOfServiceUpdatewithAcceptedDomain(java.util.Optional<java.lang.String> acceptedDomain)ManualTermsOfServiceUpdatewithAcceptedIP(java.lang.String acceptedIP)The IP address from which the terms of service were accepted.ManualTermsOfServiceUpdatewithAcceptedIP(java.util.Optional<java.lang.String> acceptedIP)The IP address from which the terms of service were accepted.ManualTermsOfServiceUpdatewithAcceptedUserAgent(java.lang.String acceptedUserAgent)The user-agent of the user making the request.ManualTermsOfServiceUpdatewithAcceptedUserAgent(java.util.Optional<java.lang.String> acceptedUserAgent)The user-agent of the user making the request.
-
-
-
Constructor Detail
-
ManualTermsOfServiceUpdate
public ManualTermsOfServiceUpdate(java.util.Optional<java.time.OffsetDateTime> acceptedDate, java.util.Optional<java.lang.String> acceptedIP, java.util.Optional<java.lang.String> acceptedUserAgent, java.util.Optional<java.lang.String> acceptedDomain)
-
ManualTermsOfServiceUpdate
public ManualTermsOfServiceUpdate()
-
-
Method Detail
-
acceptedDate
public java.util.Optional<java.time.OffsetDateTime> acceptedDate()
The date and time the terms of service were accepted.
-
acceptedIP
public java.util.Optional<java.lang.String> acceptedIP()
The IP address from which the terms of service were accepted.
-
acceptedUserAgent
public java.util.Optional<java.lang.String> acceptedUserAgent()
The user-agent of the user making the request.
-
acceptedDomain
public java.util.Optional<java.lang.String> acceptedDomain()
-
builder
public static ManualTermsOfServiceUpdate.Builder builder()
-
withAcceptedDate
public ManualTermsOfServiceUpdate withAcceptedDate(java.time.OffsetDateTime acceptedDate)
The date and time the terms of service were accepted.
-
withAcceptedDate
public ManualTermsOfServiceUpdate withAcceptedDate(java.util.Optional<java.time.OffsetDateTime> acceptedDate)
The date and time the terms of service were accepted.
-
withAcceptedIP
public ManualTermsOfServiceUpdate withAcceptedIP(java.lang.String acceptedIP)
The IP address from which the terms of service were accepted.
-
withAcceptedIP
public ManualTermsOfServiceUpdate withAcceptedIP(java.util.Optional<java.lang.String> acceptedIP)
The IP address from which the terms of service were accepted.
-
withAcceptedUserAgent
public ManualTermsOfServiceUpdate withAcceptedUserAgent(java.lang.String acceptedUserAgent)
The user-agent of the user making the request.
-
withAcceptedUserAgent
public ManualTermsOfServiceUpdate withAcceptedUserAgent(java.util.Optional<java.lang.String> acceptedUserAgent)
The user-agent of the user making the request.
-
withAcceptedDomain
public ManualTermsOfServiceUpdate withAcceptedDomain(java.lang.String acceptedDomain)
-
withAcceptedDomain
public ManualTermsOfServiceUpdate withAcceptedDomain(java.util.Optional<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
-
-