Interface StoreTermsOfServiceUrlSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set Terms Of Service Url update action.
Example to create an instance using the builder pattern
StoreTermsOfServiceUrlSetMessage storeTermsOfServiceUrlSetMessage = StoreTermsOfServiceUrlSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StoreTermsOfServiceUrlSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StoreTermsOfServiceUrlSetMessagebuilder(StoreTermsOfServiceUrlSetMessage template) create builder for StoreTermsOfServiceUrlSetMessage instancecopyDeep()deepCopy(StoreTermsOfServiceUrlSetMessage template) factory method to create a deep copy of StoreTermsOfServiceUrlSetMessageof()factory methodof(StoreTermsOfServiceUrlSetMessage template) factory method to create a shallow copy StoreTermsOfServiceUrlSetMessagevoidsetTermsOfServiceUrl(String termsOfServiceUrl) static tools.jackson.core.type.TypeReference<StoreTermsOfServiceUrlSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
STORE_TERMS_OF_SERVICE_URL_SET
discriminator value for StoreTermsOfServiceUrlSetMessage- 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 StoreTermsOfServiceUrlSetMessage
-
of
factory method to create a shallow copy StoreTermsOfServiceUrlSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StoreTermsOfServiceUrlSetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static StoreTermsOfServiceUrlSetMessage deepCopy(@Nullable StoreTermsOfServiceUrlSetMessage template) factory method to create a deep copy of StoreTermsOfServiceUrlSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreTermsOfServiceUrlSetMessage- Returns:
- builder
-
builder
create builder for StoreTermsOfServiceUrlSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStoreTermsOfServiceUrlSetMessage
default <T> T withStoreTermsOfServiceUrlSetMessage(Function<StoreTermsOfServiceUrlSetMessage, 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
-