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

io.sphere.sdk.states.commands.StateDeleteCommand Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.ByIdDeleteCommandImpl;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.states.State;

/** Deletes a state.

 

Example:

{@include.example io.sphere.sdk.states.commands.StateDeleteCommandTest#execution()} */ public class StateDeleteCommand extends ByIdDeleteCommandImpl { private StateDeleteCommand(final Versioned versioned) { super(versioned, StateEndpoint.ENDPOINT); } public static DeleteCommand of(final Versioned versioned) { return new StateDeleteCommand(versioned); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy