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