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