Class StoreSetTermsOfServiceUrlActionBuilder
java.lang.Object
com.commercetools.api.models.store.StoreSetTermsOfServiceUrlActionBuilder
- All Implemented Interfaces:
Builder<StoreSetTermsOfServiceUrlAction>
public class StoreSetTermsOfServiceUrlActionBuilder
extends Object
implements Builder<StoreSetTermsOfServiceUrlAction>
StoreSetTermsOfServiceUrlActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreSetTermsOfServiceUrlAction storeSetTermsOfServiceUrlAction = StoreSetTermsOfServiceUrlAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StoreSetTermsOfServiceUrlAction with checking for non-null required valuesbuilds StoreSetTermsOfServiceUrlAction without checking for non-null required valuesValue to set.of()factory method for an instance of StoreSetTermsOfServiceUrlActionBuilderof(StoreSetTermsOfServiceUrlAction template) create builder for StoreSetTermsOfServiceUrlAction instancetermsOfServiceUrl(String termsOfServiceUrl) Value to set.
-
Constructor Details
-
StoreSetTermsOfServiceUrlActionBuilder
public StoreSetTermsOfServiceUrlActionBuilder()
-
-
Method Details
-
termsOfServiceUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
termsOfServiceUrl- value to be set- Returns:
- Builder
-
getTermsOfServiceUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- termsOfServiceUrl
-
build
builds StoreSetTermsOfServiceUrlAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<StoreSetTermsOfServiceUrlAction>- Returns:
- StoreSetTermsOfServiceUrlAction
-
buildUnchecked
builds StoreSetTermsOfServiceUrlAction without checking for non-null required values- Returns:
- StoreSetTermsOfServiceUrlAction
-
of
factory method for an instance of StoreSetTermsOfServiceUrlActionBuilder- Returns:
- builder
-
of
create builder for StoreSetTermsOfServiceUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-