Interface StoreSetTermsOfServiceUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreTermsOfServiceUrlSet Message.
Example to create an instance using the builder pattern
StoreSetTermsOfServiceUrlAction storeSetTermsOfServiceUrlAction = StoreSetTermsOfServiceUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetTermsOfServiceUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetTermsOfServiceUrlActionbuilder(StoreSetTermsOfServiceUrlAction template) create builder for StoreSetTermsOfServiceUrlAction instancecopyDeep()deepCopy(StoreSetTermsOfServiceUrlAction template) factory method to create a deep copy of StoreSetTermsOfServiceUrlActionValue to set.of()factory methodof(StoreSetTermsOfServiceUrlAction template) factory method to create a shallow copy StoreSetTermsOfServiceUrlActionvoidsetTermsOfServiceUrl(String termsOfServiceUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetTermsOfServiceUrlAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.store.StoreUpdateAction
getAction, withStoreUpdateAction
-
Field Details
-
SET_TERMS_OF_SERVICE_URL
discriminator value for StoreSetTermsOfServiceUrlAction- See Also:
-
-
Method Details
-
getTermsOfServiceUrl
String getTermsOfServiceUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- termsOfServiceUrl
-
setTermsOfServiceUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
termsOfServiceUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetTermsOfServiceUrlAction
-
of
factory method to create a shallow copy StoreSetTermsOfServiceUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetTermsOfServiceUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetTermsOfServiceUrlAction deepCopy(@Nullable StoreSetTermsOfServiceUrlAction template) factory method to create a deep copy of StoreSetTermsOfServiceUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetTermsOfServiceUrlAction- Returns:
- builder
-
builder
create builder for StoreSetTermsOfServiceUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetTermsOfServiceUrlAction
default <T> T withStoreSetTermsOfServiceUrlAction(Function<StoreSetTermsOfServiceUrlAction, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-