io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommand Maven / Gradle / Ivy
package io.sphere.sdk.customergroups.commands;
import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.customergroups.CustomerGroupDraft;
import io.sphere.sdk.customergroups.expansion.CustomerGroupExpansionModel;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
public interface CustomerGroupCreateCommand extends CreateCommand, MetaModelExpansionDsl> {
static CustomerGroupCreateCommand of(final CustomerGroupDraft draft) {
return new CustomerGroupCreateCommandImpl(draft);
}
static CustomerGroupCreateCommand of(final String groupName) {
return of(CustomerGroupDraft.of(groupName));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy