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

io.sphere.sdk.states.commands.StateCreateCommand 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.CreateCommandImpl;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.StateDraft;

/** Creates a state.

 

Example:

{@include.example io.sphere.sdk.states.commands.StateCreateCommandTest#execution()} @see io.sphere.sdk.states.StateDraftBuilder */ public class StateCreateCommand extends CreateCommandImpl { private StateCreateCommand(final StateDraft body) { super(body, StateEndpoint.ENDPOINT); } public static StateCreateCommand of(final StateDraft draft) { return new StateCreateCommand(draft); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy