Class TermsAndConditions.Builder
-
- All Implemented Interfaces:
public class TermsAndConditions.Builder
-
-
Constructor Summary
Constructors Constructor Description TermsAndConditions.Builder()
-
Method Summary
Modifier and Type Method Description TermsAndConditionsbuild()Creates a new instance of TermsAndConditions with the provided values. TermsAndConditions.BuildersetUrl(@Nullable() String url)Sets Url of terms &condition TermsAndConditions.BuildersetVersion(int version)Sets version of terms &condition TermsAndConditions.BuildersetText(@Nullable() String text)Sets text of terms &condition TermsAndConditions.BuildersetLanguageCode(@Nullable() String languageCode)Sets language code of terms &condition -
-
Method Detail
-
build
TermsAndConditions build()
Creates a new instance of TermsAndConditions with the provided values. TermsAndConditions
- Returns:
-
setUrl
TermsAndConditions.Builder setUrl(@Nullable() String url)
Sets Url of terms &condition
- Parameters:
url- the URL of the terms and conditions, or null if not set.- Returns:
a reference to this object.
-
setVersion
TermsAndConditions.Builder setVersion(int version)
Sets version of terms &condition
- Parameters:
version- the version of the terms and conditions.- Returns:
a reference to this object.
-
setText
TermsAndConditions.Builder setText(@Nullable() String text)
Sets text of terms &condition
- Parameters:
text- the text of the terms and conditions, or null if not set.- Returns:
a reference to this object.
-
setLanguageCode
TermsAndConditions.Builder setLanguageCode(@Nullable() String languageCode)
Sets language code of terms &condition
- Parameters:
languageCode- the language code of the terms and conditions, or null if not set.- Returns:
a reference to this object.
-
-
-
-