io.sphere.sdk.customergroups.CustomerGroupDraft Maven / Gradle / Ivy
package io.sphere.sdk.customergroups;
import io.sphere.sdk.models.Base;
/**
* Draft for a customer group.
*
* @see io.sphere.sdk.customergroups.commands.CustomerGroupCreateCommand
* @see CustomerGroup
*/
public class CustomerGroupDraft extends Base {
private final String groupName;
private CustomerGroupDraft(final String groupName) {
this.groupName = groupName;
}
public static CustomerGroupDraft of(final String groupName) {
return new CustomerGroupDraft(groupName);
}
public String getGroupName() {
return groupName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy