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

io.sphere.sdk.inventories.commands.InventoryEntryCreateCommand Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.inventories.commands;

import io.sphere.sdk.commands.CreateCommandImpl;
import io.sphere.sdk.inventories.InventoryEntry;
import io.sphere.sdk.inventories.InventoryEntryDraft;

/**
 * {@include.example io.sphere.sdk.inventories.commands.InventoryEntryCreateCommandTest#execution()}
 */
public class InventoryEntryCreateCommand extends CreateCommandImpl {
    private InventoryEntryCreateCommand(final InventoryEntryDraft body) {
        super(body, Endpoint.ENDPOINT);
    }

    public static InventoryEntryCreateCommand of(final InventoryEntryDraft body) {
        return new InventoryEntryCreateCommand(body);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy