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: 1.0.0-M12
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.commands.CreateCommandImpl;

/** Creates a channel.

 

Example:

{@include.example io.sphere.sdk.channels.ChannelIntegrationTest#createChannel()} @see io.sphere.sdk.channels.ChannelDraftBuilder */ public class ChannelCreateCommand extends CreateCommandImpl { private ChannelCreateCommand(final ChannelDraft body) { super(body, ChannelsEndpoint.ENDPOINT); } public static ChannelCreateCommand of(final ChannelDraft draft) { return new ChannelCreateCommand(draft); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy