/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.productadmin; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; import com.mozu.api.contracts.core.AuditInfo; import com.mozu.api.contracts.productadmin.CategoryLocalizedContent; import com.mozu.api.contracts.productadmin.DynamicExpression; /** * A descriptive container that groups products. A category is merchant defined with associated products and discounts as configured. GThe storefront displays products in a hierarchy of categories. As such, categories can include a nesting of sub-categories to organize products and product options per set guidelines such as color, brand, material, and size. */ @JsonIgnoreProperties(ignoreUnknown = true) public class Category implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; protected Integer catalogId; public Integer getCatalogId() { return this.catalogId; } public void setCatalogId(Integer catalogId) { this.catalogId = catalogId; } /** * External unique identifier of the category. */ protected String categoryCode; public String getCategoryCode() { return this.categoryCode; } public void setCategoryCode(String categoryCode) { this.categoryCode = categoryCode; } /** * Specifies the type of category. The following are the valid values:* * * */ protected String categoryType; public String getCategoryType() { return this.categoryType; } public void setCategoryType(String categoryType) { this.categoryType = categoryType; } /** * The number of children (subcategories, for example) that stem from a parent (top-level category). */ protected Integer childCount; public Integer getChildCount() { return this.childCount; } public void setChildCount(Integer childCount) { this.childCount = childCount; } /** * Unique identifier of the source property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default, auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the query string in the endpoint. For example, . Then, use the property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values: */ protected Integer id; public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } /** * Indicates if the object or feature is active. */ protected Boolean isActive; public Boolean getIsActive() { return this.isActive; } public void setIsActive(Boolean isActive) { this.isActive = isActive; } /** * Indicates if the object is displayed on the storefront. If true, the admin product category is displayed in the store. If false, the category is not displayed. */ protected Boolean isDisplayed; public Boolean getIsDisplayed() { return this.isDisplayed; } public void setIsDisplayed(Boolean isDisplayed) { this.isDisplayed = isDisplayed; } /** * The code of the current category's parent category. */ protected String parentCategoryCode; public String getParentCategoryCode() { return this.parentCategoryCode; } public void setParentCategoryCode(String parentCategoryCode) { this.parentCategoryCode = parentCategoryCode; } /** * If the current category has a parent, the identifier of the category's parent category. */ protected Integer parentCategoryId; public Integer getParentCategoryId() { return this.parentCategoryId; } public void setParentCategoryId(Integer parentCategoryId) { this.parentCategoryId = parentCategoryId; } /** * If the current category has a parent, the name of the category's parent category. */ protected String parentCategoryName; public String getParentCategoryName() { return this.parentCategoryName; } public void setParentCategoryName(String parentCategoryName) { this.parentCategoryName = parentCategoryName; } /** * Indicates whether the parent category is active. */ protected Boolean parentIsActive; public Boolean getParentIsActive() { return this.parentIsActive; } public void setParentIsActive(Boolean parentIsActive) { this.parentIsActive = parentIsActive; } /** * The total number of products. This total may indicate the total products associate with a product type or number of products in a list. */ protected Integer productCount; public Integer getProductCount() { return this.productCount; } public void setProductCount(Integer productCount) { this.productCount = productCount; } /** * The numeric order of objects, used by a vocabulary value defined for an extensible attribute, images, and categories. */ protected Integer sequence; public Integer getSequence() { return this.sequence; } public void setSequence(Integer sequence) { this.sequence = sequence; } /** * Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. */ protected AuditInfo auditInfo; public AuditInfo getAuditInfo() { return this.auditInfo; } public void setAuditInfo(AuditInfo auditInfo) { this.auditInfo = auditInfo; } /** * Complex type that contains content for a language specified by LocaleCode. */ protected CategoryLocalizedContent content; public CategoryLocalizedContent getContent() { return this.content; } public void setContent(CategoryLocalizedContent content) { this.content = content; } /** * Mozu.ProductAdmin.Contracts.Category dynamicExpression ApiTypeMember DOCUMENT_HERE */ protected DynamicExpression dynamicExpression; public DynamicExpression getDynamicExpression() { return this.dynamicExpression; } public void setDynamicExpression(DynamicExpression dynamicExpression) { this.dynamicExpression = dynamicExpression; } }