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

io.sphere.sdk.shippingmethods.commands.ShippingMethodCreateCommand Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.shippingmethods.commands;

import io.sphere.sdk.commands.DraftBasedCreateCommand;
import io.sphere.sdk.expansion.MetaModelReferenceExpansionDsl;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.shippingmethods.ShippingMethodDraft;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;

/**
 * Creates a {@link io.sphere.sdk.shippingmethods.ShippingMethod}.
 *
 * {@include.example io.sphere.sdk.shippingmethods.commands.ShippingMethodCreateCommandIntegrationTest#execution()}
 */
public interface ShippingMethodCreateCommand extends DraftBasedCreateCommand, MetaModelReferenceExpansionDsl> {
    static ShippingMethodCreateCommand of(final ShippingMethodDraft draft) {
        return new ShippingMethodCreateCommandImpl(draft);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy