All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.reviews.commands.ReviewDeleteCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.reviews.commands;

import io.sphere.sdk.commands.ByIdDeleteCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.reviews.Review;
import io.sphere.sdk.reviews.expansion.ReviewExpansionModel;

/**
 * Deletes a review in SPHERE.IO.
 *
 * {@include.example io.sphere.sdk.reviews.commands.ReviewDeleteCommandTest#execution()}
 */
public interface ReviewDeleteCommand extends ByIdDeleteCommand, MetaModelExpansionDsl> {

    static ReviewDeleteCommand of(final Versioned versioned) {
        return new ReviewDeleteCommandImpl(versioned);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy