io.sphere.sdk.customers.commands.CustomerDeleteCommand Maven / Gradle / Ivy
package io.sphere.sdk.customers.commands;
import io.sphere.sdk.commands.ByIdDeleteCommandImpl;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.models.Versioned;
/**
* Deletes a customer.
*
* {@include.example io.sphere.sdk.customers.commands.CustomerDeleteCommandTest#execution()}
*/
public class CustomerDeleteCommand extends ByIdDeleteCommandImpl {
private CustomerDeleteCommand(final Versioned versioned) {
super(versioned, CustomersEndpoint.ENDPOINT);
}
public static DeleteCommand of(final Versioned versioned) {
return new CustomerDeleteCommand(versioned);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy