io.sphere.sdk.carts.commands.CartDeleteCommand Maven / Gradle / Ivy
package io.sphere.sdk.carts.commands;
import io.sphere.sdk.carts.Cart;
import io.sphere.sdk.commands.ByIdDeleteCommandImpl;
import io.sphere.sdk.commands.DeleteCommand;
import io.sphere.sdk.models.Versioned;
/**
* Deletes a cart in SPHERE.IO.
*
*/
public final class CartDeleteCommand extends ByIdDeleteCommandImpl {
private CartDeleteCommand(final Versioned versioned) {
super(versioned, CartsEndpoint.ENDPOINT);
}
public static DeleteCommand of(final Versioned versioned) {
return new CartDeleteCommand(versioned);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy