All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.customers.commands.CustomerDeleteCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M12
Show newest version
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