
io.sphere.sdk.inventories.commands.InventoryEntryUpdateCommand Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.inventories.commands;
import io.sphere.sdk.commands.UpdateAction;
import io.sphere.sdk.commands.UpdateCommandDslImpl;
import io.sphere.sdk.inventories.InventoryEntry;
import io.sphere.sdk.models.Versioned;
import java.util.List;
import static java.util.Arrays.asList;
/**
{@doc.gen list actions}
*/
public class InventoryEntryUpdateCommand extends UpdateCommandDslImpl {
private InventoryEntryUpdateCommand(final Versioned versioned, final List extends UpdateAction> updateActions) {
super(versioned, updateActions, Endpoint.ENDPOINT);
}
public static InventoryEntryUpdateCommand of(final Versioned versioned, final UpdateAction updateAction) {
return of(versioned, asList(updateAction));
}
public static InventoryEntryUpdateCommand of(final Versioned versioned, final List extends UpdateAction> updateActions) {
return new InventoryEntryUpdateCommand(versioned, updateActions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy