Class StoreTermsOfServiceUrlSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StoreTermsOfServiceUrlSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreTermsOfServiceUrlSetMessagePayload>
public class StoreTermsOfServiceUrlSetMessagePayloadBuilder
extends Object
implements Builder<StoreTermsOfServiceUrlSetMessagePayload>
StoreTermsOfServiceUrlSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreTermsOfServiceUrlSetMessagePayload storeTermsOfServiceUrlSetMessagePayload = StoreTermsOfServiceUrlSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StoreTermsOfServiceUrlSetMessagePayload with checking for non-null required valuesbuilds StoreTermsOfServiceUrlSetMessagePayload without checking for non-null required valuesof()factory method for an instance of StoreTermsOfServiceUrlSetMessagePayloadBuilderof(StoreTermsOfServiceUrlSetMessagePayload template) create builder for StoreTermsOfServiceUrlSetMessagePayload instancetermsOfServiceUrl(String termsOfServiceUrl)
-
Constructor Details
-
StoreTermsOfServiceUrlSetMessagePayloadBuilder
public StoreTermsOfServiceUrlSetMessagePayloadBuilder()
-
-
Method Details
-
termsOfServiceUrl
public StoreTermsOfServiceUrlSetMessagePayloadBuilder termsOfServiceUrl(@Nullable String termsOfServiceUrl) The
termsOfServiceUrlof the Store after the Set Terms Of Service Url update action.- Parameters:
termsOfServiceUrl- value to be set- Returns:
- Builder
-
getTermsOfServiceUrl
The
termsOfServiceUrlof the Store after the Set Terms Of Service Url update action.- Returns:
- termsOfServiceUrl
-
build
builds StoreTermsOfServiceUrlSetMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<StoreTermsOfServiceUrlSetMessagePayload>- Returns:
- StoreTermsOfServiceUrlSetMessagePayload
-
buildUnchecked
builds StoreTermsOfServiceUrlSetMessagePayload without checking for non-null required values- Returns:
- StoreTermsOfServiceUrlSetMessagePayload
-
of
factory method for an instance of StoreTermsOfServiceUrlSetMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreTermsOfServiceUrlSetMessagePayloadBuilder of(StoreTermsOfServiceUrlSetMessagePayload template) create builder for StoreTermsOfServiceUrlSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-