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

io.sphere.internal.command.ChannelCommands Maven / Gradle / Ivy

There is a newer version: 0.72.1
Show newest version
package io.sphere.internal.command;

public class ChannelCommands {
    public static abstract class ChannelUpdateAction extends UpdateAction {
        public ChannelUpdateAction(final String action) {
            super(action);
        }
    }

    public static class ChangeKey extends ChannelUpdateAction {
        private final String key;

        public ChangeKey(final String key) {
            super("changeKey");
            this.key = key;
        }

        public String getKey() {
            return key;
        }
    }

    public static class CreateChannel implements Command {
        private final String key;

        public CreateChannel(final String key) {
            this.key = key;
        }

        public String getKey() {
            return key;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy