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: 2.16.0
Show newest version
package io.sphere.sdk.customergroups.commands;

import io.sphere.sdk.commands.DraftBasedCreateCommand;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.customergroups.CustomerGroupDraft;
import io.sphere.sdk.customergroups.expansion.CustomerGroupExpansionModel;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;

/**
 * 

Creates a new customer group

* * {@include.example io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommandIntegrationTest#execution()} * * @see CustomerGroup */ public interface CustomerGroupCreateCommand extends DraftBasedCreateCommand, MetaModelReferenceExpansionDsl> { static CustomerGroupCreateCommand of(final CustomerGroupDraft draft) { return new CustomerGroupCreateCommandImpl(draft); } static CustomerGroupCreateCommand of(final String groupName) { return of(CustomerGroupDraft.of(groupName)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy