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

io.sphere.sdk.inventory.commands.updateactions.SetRestockableInDays Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.inventory.commands.updateactions;

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.inventory.InventoryEntry;

import javax.annotation.Nullable;

/**
 * Sets the restackable in days value.
 * 
 * {@doc.gen intro}
 *
 * {@include.example io.sphere.sdk.inventory.commands.InventoryEntryUpdateCommandTest#setRestockableInDays()}
 */
public class SetRestockableInDays extends UpdateActionImpl {
    @Nullable
    private final Integer restockableInDays;

    private SetRestockableInDays(@Nullable final Integer restockableInDays) {
        super("setRestockableInDays");
        this.restockableInDays = restockableInDays;
    }

    @Nullable
    public Integer getRestockableInDays() {
        return restockableInDays;
    }

    public static SetRestockableInDays of(@Nullable final Integer restockableInDays) {
        return new SetRestockableInDays(restockableInDays);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy