Package | Description |
---|---|
io.sphere.sdk.reviews.commands |
Provides types to change the state of reviews.
|
Modifier and Type | Method and Description |
---|---|
static ReviewUpdateCommand |
ReviewUpdateCommand.of(Versioned<Review> versioned,
List<? extends UpdateAction<Review>> updateActions)
Creates a command to update a Review selected by its ID using several update actions.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.of(Versioned<Review> versioned,
UpdateAction<Review> updateAction,
UpdateAction<Review>... updateActions)
Creates a command to update a Review selected by its ID using one update action.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<Review>> updateActions)
Creates a command to update a Review selected by its key using several update actions.
|
static ReviewUpdateCommand |
ReviewUpdateCommand.ofKey(String key,
Long version,
UpdateAction<Review> updateAction)
Creates a command to update a Review selected by its key using one update action.
|