Interface StoreTermsOfServiceUrlSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set Terms Of Service Url update action.
Example to create an instance using the builder pattern
StoreTermsOfServiceUrlSetMessagePayload storeTermsOfServiceUrlSetMessagePayload = StoreTermsOfServiceUrlSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreTermsOfServiceUrlSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreTermsOfServiceUrlSetMessagePayloadcreate builder for StoreTermsOfServiceUrlSetMessagePayload instancecopyDeep()factory method to create a deep copy of StoreTermsOfServiceUrlSetMessagePayloadof()factory methodof(StoreTermsOfServiceUrlSetMessagePayload template) factory method to create a shallow copy StoreTermsOfServiceUrlSetMessagePayloadvoidsetTermsOfServiceUrl(String termsOfServiceUrl) static tools.jackson.core.type.TypeReference<StoreTermsOfServiceUrlSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStoreTermsOfServiceUrlSetMessagePayload(Function<StoreTermsOfServiceUrlSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
STORE_TERMS_OF_SERVICE_URL_SET
discriminator value for StoreTermsOfServiceUrlSetMessagePayload- See Also:
-
-
Method Details
-
getTermsOfServiceUrl
String getTermsOfServiceUrl()The
termsOfServiceUrlof the Store after the Set Terms Of Service Url update action.- Returns:
- termsOfServiceUrl
-
setTermsOfServiceUrl
The
termsOfServiceUrlof the Store after the Set Terms Of Service Url update action.- Parameters:
termsOfServiceUrl- value to be set
-
of
factory method- Returns:
- instance of StoreTermsOfServiceUrlSetMessagePayload
-
of
factory method to create a shallow copy StoreTermsOfServiceUrlSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreTermsOfServiceUrlSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static StoreTermsOfServiceUrlSetMessagePayload deepCopy(@Nullable StoreTermsOfServiceUrlSetMessagePayload template) factory method to create a deep copy of StoreTermsOfServiceUrlSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreTermsOfServiceUrlSetMessagePayload- Returns:
- builder
-
builder
static StoreTermsOfServiceUrlSetMessagePayloadBuilder builder(StoreTermsOfServiceUrlSetMessagePayload template) create builder for StoreTermsOfServiceUrlSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreTermsOfServiceUrlSetMessagePayload
default <T> T withStoreTermsOfServiceUrlSetMessagePayload(Function<StoreTermsOfServiceUrlSetMessagePayload, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<StoreTermsOfServiceUrlSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-