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

io.sphere.sdk.zones.commands.ZoneCreateCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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