
io.sphere.sdk.customergroups.CustomerGroupDraft Maven / Gradle / Ivy
package io.sphere.sdk.customergroups;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.types.CustomDraft;
/**
* Draft for a customer group.
*
* @see io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommand
* @see CustomerGroup
*/
@JsonDeserialize(as = CustomerGroupDraftImpl.class)
public interface CustomerGroupDraft {
String getGroupName();
static CustomerGroupDraft of(final String groupName) {
return new CustomerGroupDraftImpl(groupName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy