io.sphere.sdk.shippingmethods.commands.ShippingMethodUpdateCommand Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods.commands;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.commands.UpdateCommandDsl;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;
import io.sphere.sdk.models.Versioned;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.shippingmethods.expansion.ShippingMethodExpansionModel;
import java.util.Collections;
import java.util.List;
/**
{@doc.gen list actions}
*/
public interface ShippingMethodUpdateCommand extends UpdateCommandDsl, MetaModelExpansionDsl> {
static ShippingMethodUpdateCommand of(final Versioned versioned,
final List extends UpdateAction> updateActions) {
return new ShippingMethodUpdateCommandImpl(versioned, updateActions);
}
static ShippingMethodUpdateCommand of(final Versioned versioned, final UpdateAction updateAction) {
return of(versioned, Collections.singletonList(updateAction));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy