com.github.chen0040.magento.models.Category Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-magento-client Show documentation
Show all versions of java-magento-client Show documentation
Java client that communicate with magento site in Java
package com.github.chen0040.magento.models;
import lombok.Getter;
import lombok.Setter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by xschen on 12/6/2017.
*/
@Setter
@Getter
public class Category {
private long id = 2;
private long parent_id = 1;
private String name = "Category Store Group 1 - website_id_1";
private boolean is_active = true;
private int position = 1;
private int level = 1;
private int product_count = 25;
private List children_data = new ArrayList<>();
}