Interface StoreSetContactUrlAction
- All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>,StoreUpdateAction
This update action produces the StoreContactUrlSet Message.
Example to create an instance using the builder pattern
StoreSetContactUrlAction storeSetContactUrlAction = StoreSetContactUrlAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreSetContactUrlAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreSetContactUrlActionbuilder(StoreSetContactUrlAction template) create builder for StoreSetContactUrlAction instancecopyDeep()static StoreSetContactUrlActiondeepCopy(StoreSetContactUrlAction template) factory method to create a deep copy of StoreSetContactUrlActionValue to set.static StoreSetContactUrlActionof()factory methodstatic StoreSetContactUrlActionof(StoreSetContactUrlAction template) factory method to create a shallow copy StoreSetContactUrlActionvoidsetContactUrl(String contactUrl) Value to set.static tools.jackson.core.type.TypeReference<StoreSetContactUrlAction>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_CONTACT_URL
discriminator value for StoreSetContactUrlAction- See Also:
-
-
Method Details
-
getContactUrl
String getContactUrl()Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- contactUrl
-
setContactUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
contactUrl- value to be set
-
of
factory method- Returns:
- instance of StoreSetContactUrlAction
-
of
factory method to create a shallow copy StoreSetContactUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreSetContactUrlAction copyDeep()- Specified by:
copyDeepin interfaceStoreUpdateAction
-
deepCopy
factory method to create a deep copy of StoreSetContactUrlAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreSetContactUrlAction- Returns:
- builder
-
builder
create builder for StoreSetContactUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreSetContactUrlAction
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
-