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

io.sphere.sdk.channels.commands.ChannelCreateCommand Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.channels.commands;

import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.channels.ChannelDraft;
import io.sphere.sdk.channels.ChannelDraftDsl;
import io.sphere.sdk.channels.expansion.ChannelExpansionModel;
import io.sphere.sdk.commands.DraftBasedCreateCommand;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;

/**
 * Creates a channel.
 *
 * 

Example:

* {@include.example io.sphere.sdk.channels.commands.ChannelCreateCommandIntegrationTest#execution()} * *

Example for creation a channel with custom fields:

{@include.example io.sphere.sdk.channels.ChannelCustomFieldsIntegrationTest#createChannelWithCustomType()} * * @see io.sphere.sdk.channels.ChannelDraftBuilder * @see ChannelDraft * @see ChannelDraftDsl */ public interface ChannelCreateCommand extends DraftBasedCreateCommand, MetaModelReferenceExpansionDsl> { static ChannelCreateCommand of(final ChannelDraft draft) { return new ChannelCreateCommandImpl(draft); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy