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

io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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;

/**
 * 

Creates a new customer group

* * {@include.example io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommandTest#execution()} * * @see CustomerGroup */ 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