Interface StoreSetPrivacyPolicyUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StorePrivacyPolicyUrlSet Message.
Example to create an instance using the builder pattern
StoreSetPrivacyPolicyUrlAction storeSetPrivacyPolicyUrlAction = StoreSetPrivacyPolicyUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetPrivacyPolicyUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetPrivacyPolicyUrlActionbuilder(StoreSetPrivacyPolicyUrlAction template) create builder for StoreSetPrivacyPolicyUrlAction instancecopyDeep()deepCopy(StoreSetPrivacyPolicyUrlAction template) factory method to create a deep copy of StoreSetPrivacyPolicyUrlActionValue to set.of()factory methodof(StoreSetPrivacyPolicyUrlAction template) factory method to create a shallow copy StoreSetPrivacyPolicyUrlActionvoidsetPrivacyPolicyUrl(String privacyPolicyUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetPrivacyPolicyUrlAction>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_PRIVACY_POLICY_URL
discriminator value for StoreSetPrivacyPolicyUrlAction- See Also:
-
-
Method Details
-
getPrivacyPolicyUrl
String getPrivacyPolicyUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- privacyPolicyUrl
-
setPrivacyPolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
privacyPolicyUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetPrivacyPolicyUrlAction
-
of
factory method to create a shallow copy StoreSetPrivacyPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetPrivacyPolicyUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
@Nullable static StoreSetPrivacyPolicyUrlAction deepCopy(@Nullable StoreSetPrivacyPolicyUrlAction template) factory method to create a deep copy of StoreSetPrivacyPolicyUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetPrivacyPolicyUrlAction- Returns:
- builder
-
builder
create builder for StoreSetPrivacyPolicyUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetPrivacyPolicyUrlAction
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
-