io.sphere.sdk.zones.commands.ZoneCreateCommand Maven / Gradle / Ivy
package io.sphere.sdk.zones.commands;
import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.zones.Zone;
import io.sphere.sdk.zones.ZoneDraft;
import io.sphere.sdk.zones.expansion.ZoneExpansionModel;
/**
* Creates a zone in SPHERE.IO.
*
* {@include.example io.sphere.sdk.zones.commands.ZoneCreateCommandTest#execution()}
*/
public interface ZoneCreateCommand extends CreateCommand, MetaModelExpansionDsl> {
static ZoneCreateCommand of(final ZoneDraft draft) {
return new ZoneCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy