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

io.sphere.sdk.products.commands.updateactions.SetCategoryOrderHint Maven / Gradle / Ivy

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

import io.sphere.sdk.commands.UpdateActionImpl;
import io.sphere.sdk.products.Product;

import javax.annotation.Nullable;

public class SetCategoryOrderHint extends UpdateActionImpl {
    private final String categoryId;
    @Nullable
    private final String orderHint;

    private SetCategoryOrderHint(final String categoryId, @Nullable final String orderHint) {
        super("setCategoryOrderHint");
        this.categoryId = categoryId;
        this.orderHint = orderHint;
    }

    public static SetCategoryOrderHint of(final String categoryId, @Nullable final String orderHint) {
        return new SetCategoryOrderHint(categoryId, orderHint);
    }

    public String getCategoryId() {
        return categoryId;
    }

    @Nullable
    public String getOrderHint() {
        return orderHint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy