Package io.moov.sdk.models.operations
Class GetTermsOfServiceTokenRequest.Builder
- java.lang.Object
-
- io.moov.sdk.models.operations.GetTermsOfServiceTokenRequest.Builder
-
- Enclosing class:
- GetTermsOfServiceTokenRequest
public static final class GetTermsOfServiceTokenRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTermsOfServiceTokenRequestbuild()GetTermsOfServiceTokenRequest.Builderorigin(java.lang.String origin)Indicates the domain from which the request originated.GetTermsOfServiceTokenRequest.Builderorigin(java.util.Optional<java.lang.String> origin)Indicates the domain from which the request originated.GetTermsOfServiceTokenRequest.Builderreferer(java.lang.String referer)Specifies the URL of the resource from which the request originated.GetTermsOfServiceTokenRequest.Builderreferer(java.util.Optional<java.lang.String> referer)Specifies the URL of the resource from which the request originated.
-
-
-
Method Detail
-
origin
public GetTermsOfServiceTokenRequest.Builder origin(java.lang.String origin)
Indicates the domain from which the request originated. Required if referer header is not present.
-
origin
public GetTermsOfServiceTokenRequest.Builder origin(java.util.Optional<java.lang.String> origin)
Indicates the domain from which the request originated. Required if referer header is not present.
-
referer
public GetTermsOfServiceTokenRequest.Builder referer(java.lang.String referer)
Specifies the URL of the resource from which the request originated. Required if origin header is not present.
-
referer
public GetTermsOfServiceTokenRequest.Builder referer(java.util.Optional<java.lang.String> referer)
Specifies the URL of the resource from which the request originated. Required if origin header is not present.
-
build
public GetTermsOfServiceTokenRequest build()
-
-