io.sphere.sdk.states.commands.StateDeleteCommand Maven / Gradle / Ivy
package io.sphere.sdk.states.commands;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.expansion.StateExpansionModel;
/** Deletes a state.
Example:
{@include.example io.sphere.sdk.states.commands.StateDeleteCommandTest#execution()}
*/
public interface StateDeleteCommand extends MetaModelExpansionDsl>, DeleteCommand {
static StateDeleteCommand of(final Versioned versioned) {
return new StateDeleteCommandImpl(versioned);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy