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

io.sphere.sdk.customers.commands.CustomerDeleteByIdCommand 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.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