/** * 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.productruntime; 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.productruntime.AttributeValidation; /** * The product attribute details common between all attribute types - properties, options, and extras. */ @JsonIgnoreProperties(ignoreUnknown = true) public class AttributeDetail implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * Indicates whether the attribute should be able to be used in filters, facets, and sorting on the public storefront. */ protected Boolean allowFilteringAndSortingInStorefront; public Boolean getAllowFilteringAndSortingInStorefront() { return this.allowFilteringAndSortingInStorefront; } public void setAllowFilteringAndSortingInStorefront(Boolean allowFilteringAndSortingInStorefront) { this.allowFilteringAndSortingInStorefront = allowFilteringAndSortingInStorefront; } /** * The data type of the source product property, typically of type Bool, DateTime, Number, or String. */ protected String dataType; public String getDataType() { return this.dataType; } public void setDataType(String dataType) { this.dataType = dataType; } /** * Unique sequence of the attribute for its data type. */ protected Integer dataTypeSequence; public Integer getDataTypeSequence() { return this.dataTypeSequence; } public void setDataTypeSequence(Integer dataTypeSequence) { this.dataTypeSequence = dataTypeSequence; } /** * The localized description in text for the object, displayed per the locale code. For example, descriptions are used for product descriptions, attributes, and pre-authorization transaction types. */ protected String description; public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } /** * Defines the intended display of this attribute in the storefront. Options include Drop Down, Image Picker, and Radio Buttons. */ protected String displayIntention; public String getDisplayIntention() { return this.displayIntention; } public void setDisplayIntention(String displayIntention) { this.displayIntention = displayIntention; } /** * The type of input selection used to define a value for the attribute, including Yes/No, Date, DateTime, List, TextBox, or TextArea. */ protected String inputType; public String getInputType() { return this.inputType; } public void setInputType(String inputType) { this.inputType = inputType; } /** * The display name of the source product property. For a product field it will be the display name of the field. For a product attribute it will be the Attribute Name. */ protected String name; public String getName() { return this.name; } public void setName(String name) { this.name = name; } /** * Indicates if the attribute value is searchable on the public storefront. */ protected Boolean searchableInStorefront; public Boolean getSearchableInStorefront() { return this.searchableInStorefront; } public void setSearchableInStorefront(Boolean searchableInStorefront) { this.searchableInStorefront = searchableInStorefront; } /** * Indicates what kind of values search queries and returns. If true, the system indexes the display value of string attributes instead of the canonical value for searching. Always use the canonical value for filtering. This does not apply for non-string attributes. */ protected Boolean searchDisplayValue; public Boolean getSearchDisplayValue() { return this.searchDisplayValue; } public void setSearchDisplayValue(Boolean searchDisplayValue) { this.searchDisplayValue = searchDisplayValue; } /** * The usage type of the product attribute, which is property, option, or extra. */ protected String usageType; public String getUsageType() { return this.usageType; } public void setUsageType(String usageType) { this.usageType = usageType; } /** * An attribute value type is either predefined vocabulary by the admin during attribute set up or user-defined with an appropriate type (AdminEntered or ShopperEntered depending on the user). These types are used by products and attributes. The difference between predefined values versus manually entered values is such that the first choice is a set of options to choose from. AdminEntered and ShopperEntered are values that are entered rather than system-supplied and are not stored in the database, but captured during a live commerce operations such as during an order. */ protected String valueType; public String getValueType() { return this.valueType; } public void setValueType(String valueType) { this.valueType = valueType; } /** * Properties used when validating a value entered for an object, including extensible attributes, products attributes, and database entries. */ protected AttributeValidation validation; public AttributeValidation getValidation() { return this.validation; } public void setValidation(AttributeValidation validation) { this.validation = validation; } }