io.sphere.sdk.zones.commands.ZoneCreateCommand Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.CreateCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasCreateCommand.
in the source class io.sphere.sdk.zones.Zone.
To render this class the handlebars template 'commands/createCommandInterface.hbs' has been used.
*/
package io.sphere.sdk.zones.commands;
import io.sphere.sdk.commands.DraftBasedCreateCommandDsl;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;
import io.sphere.sdk.zones.Zone;
import io.sphere.sdk.zones.ZoneDraft;
import io.sphere.sdk.zones.expansion.ZoneExpansionModel;
/**
Command object to create a {@link Zone}.
{@include.example io.sphere.sdk.zones.commands.ZoneCreateCommandIntegrationTest#execution() }
@see ZoneDraft
@see Zone
*/
public interface ZoneCreateCommand extends DraftBasedCreateCommandDsl, MetaModelReferenceExpansionDsl> {
/**
Creates a command object to create a {@link Zone}.
@param draft template to create the new object
@return a new create command
*/
static ZoneCreateCommand of(final ZoneDraft draft) {
return new ZoneCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy