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

io.sphere.sdk.carts.commands.CartDeleteCommand Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.carts.commands;

import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.carts.expansion.CartExpansionModel;
import io.sphere.sdk.commands.ByIdDeleteCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;

/**
 * Deletes a cart in SPHERE.IO.
 *
 */
public interface CartDeleteCommand extends ByIdDeleteCommand, MetaModelExpansionDsl> {

    static CartDeleteCommand of(final Versioned versioned) {
        return new CartDeleteCommandImpl(versioned);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy