io.sphere.sdk.shippingmethods.commands.ShippingMethodCreateCommand Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.CreateCommandEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasCreateCommand.
in the source class io.sphere.sdk.shippingmethods.ShippingMethod.
To render this class the handlebars template 'commands/createCommandInterface.hbs' has been used.
*/
package io.sphere.sdk.shippingmethods.commands;
import io.sphere.sdk.commands.DraftBasedCreateCommandDsl;
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() }
@see ShippingMethodDraft
@see ShippingMethod
*/
public interface ShippingMethodCreateCommand extends DraftBasedCreateCommandDsl, MetaModelReferenceExpansionDsl> {
/**
Creates a command object to create a {@link ShippingMethod}.
@param draft template to create the new object
@return a new create command
*/
static ShippingMethodCreateCommand of(final ShippingMethodDraft draft) {
return new ShippingMethodCreateCommandImpl(draft);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy