Interface ReviewUpdateAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>
- All Known Subinterfaces:
ReviewSetAuthorNameAction
,ReviewSetCustomerAction
,ReviewSetCustomFieldAction
,ReviewSetCustomTypeAction
,ReviewSetKeyAction
,ReviewSetLocaleAction
,ReviewSetRatingAction
,ReviewSetTargetAction
,ReviewSetTextAction
,ReviewSetTitleAction
,ReviewTransitionStateAction
ReviewUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ReviewUpdateAction reviewUpdateAction = ReviewUpdateAction.setAuthorNameBuilder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewUpdateAction
deepCopy
(ReviewUpdateAction template) factory method to create a deep copy of ReviewUpdateAction@NotNull String
builder for setAuthorName subtypebuilder for setCustomer subtypebuilder for setCustomField subtypebuilder for setCustomType subtypestatic ReviewSetKeyActionBuilder
builder for setKey subtypestatic ReviewSetLocaleActionBuilder
builder for setLocale subtypestatic ReviewSetRatingActionBuilder
builder for setRating subtypestatic ReviewSetTargetActionBuilder
builder for setTarget subtypestatic ReviewSetTextActionBuilder
builder for setText subtypestatic ReviewSetTitleActionBuilder
builder for setTitle subtypebuilder for transitionState subtypestatic com.fasterxml.jackson.core.type.TypeReference<ReviewUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withReviewUpdateAction
(Function<ReviewUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ReviewUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of ReviewUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
setAuthorNameBuilder
builder for setAuthorName subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setCustomerBuilder
builder for setCustomer subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setLocaleBuilder
builder for setLocale subtype- Returns:
- builder
-
setRatingBuilder
builder for setRating subtype- Returns:
- builder
-
setTargetBuilder
builder for setTarget subtype- Returns:
- builder
-
setTextBuilder
builder for setText subtype- Returns:
- builder
-
setTitleBuilder
builder for setTitle subtype- Returns:
- builder
-
transitionStateBuilder
builder for transitionState subtype- Returns:
- builder
-
withReviewUpdateAction
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
-