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-M26
Show newest version
package io.sphere.sdk.customers.commands;

import io.sphere.sdk.commands.ByIdDeleteCommand;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;

/**
 * Deletes a customer.
 *
 * {@include.example io.sphere.sdk.customers.commands.CustomerDeleteCommandTest#execution()}
 *
 * @see Customer
 */
public interface CustomerDeleteCommand extends ByIdDeleteCommand, MetaModelExpansionDsl> {
    static CustomerDeleteCommand of(final Versioned versioned) {
        return new CustomerDeleteCommandImpl(versioned);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy