Interface ReviewSetCustomerAction
- All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>
,ReviewUpdateAction
- All Known Implementing Classes:
ReviewSetCustomerActionImpl
ReviewSetCustomerAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ReviewSetCustomerAction reviewSetCustomerAction = ReviewSetCustomerAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ReviewSetCustomerAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ReviewSetCustomerActionbuilder
(ReviewSetCustomerAction template) create builder for ReviewSetCustomerAction instancestatic ReviewSetCustomerAction
deepCopy
(ReviewSetCustomerAction template) factory method to create a deep copy of ReviewSetCustomerAction@Valid CustomerResourceIdentifier
Value to set.static ReviewSetCustomerAction
of()
factory methodstatic ReviewSetCustomerAction
of
(ReviewSetCustomerAction template) factory method to create a shallow copy ReviewSetCustomerActionstatic ReviewSetCustomerAction
ofUnset()
void
setCustomer
(CustomerResourceIdentifier customer) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ReviewSetCustomerAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.review.ReviewUpdateAction
getAction, withReviewUpdateAction
-
Field Details
-
SET_CUSTOMER
discriminator value for ReviewSetCustomerAction- See Also:
-
-
Method Details
-
getCustomer
Value to set. If empty, any existing value will be removed.
- Returns:
- customer
-
setCustomer
Value to set. If empty, any existing value will be removed.
- Parameters:
customer
- value to be set
-
of
factory method- Returns:
- instance of ReviewSetCustomerAction
-
of
factory method to create a shallow copy ReviewSetCustomerAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ReviewSetCustomerAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ReviewSetCustomerAction- Returns:
- builder
-
builder
create builder for ReviewSetCustomerAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withReviewSetCustomerAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-