io.sphere.sdk.customergroups.commands.CustomerGroupDeleteCommand Maven / Gradle / Ivy
package io.sphere.sdk.customergroups.commands;
import io.sphere.sdk.commands.ByIdDeleteCommandImpl;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.models.Versioned;
public class CustomerGroupDeleteCommand extends ByIdDeleteCommandImpl {
private CustomerGroupDeleteCommand(final Versioned customerGroup) {
super(customerGroup, CustomerGroupEndpoint.ENDPOINT);
}
public static DeleteCommand of(final Versioned customerGroup) {
return new CustomerGroupDeleteCommand(customerGroup);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy