io.sphere.sdk.products.commands.updateactions.SetCategoryOrderHint Maven / Gradle / Ivy
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;
}
}