io.sphere.sdk.shippingmethods.commands.ShippingMethodCreateCommand Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods.commands;
import io.sphere.sdk.commands.CreateCommand;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
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} in SPHERE.IO.
*
* {@include.example io.sphere.sdk.shippingmethods.commands.ShippingMethodCreateCommandTest#execution()}
*/
public interface ShippingMethodCreateCommand extends CreateCommand, MetaModelExpansionDsl> {
static ShippingMethodCreateCommand of(final ShippingMethodDraft draft) {
return new ShippingMethodCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy