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.MetaModelReferenceExpansionDsl;
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.StateDeleteCommandIntegrationTest#execution()}
*/
public interface StateDeleteCommand extends MetaModelReferenceExpansionDsl>, DeleteCommand {
static StateDeleteCommand of(final Versioned versioned) {
return new StateDeleteCommandImpl(versioned);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy