Package | Description |
---|---|
io.sphere.sdk.reviews.commands |
Provides types to change the state of reviews.
|
Modifier and Type | Method and Description |
---|---|
static ReviewDeleteCommand |
ReviewDeleteCommand.of(Versioned<Review> versioned)
Creates a command object to delete a
Review by ID. |
static ReviewDeleteCommand |
ReviewDeleteCommand.of(Versioned<Review> versioned,
boolean eraseData)
Creates a command object to delete a
Review by ID. |
static ReviewDeleteCommand |
ReviewDeleteCommand.ofId(String id,
Long version)
Creates a command object to delete a
Review by its id. |
static ReviewDeleteCommand |
ReviewDeleteCommand.ofId(String id,
Long version,
boolean eraseData)
Creates a command object to delete a
Review by its id. |
static ReviewDeleteCommand |
ReviewDeleteCommand.ofKey(String key,
Long version)
Creates a command object to delete a
Review by its key. |
static ReviewDeleteCommand |
ReviewDeleteCommand.ofKey(String key,
Long version,
boolean eraseData)
Creates a command object to delete a
Review by its key. |