/** * 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.pricingruntime; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; /** * Details of the product attribute, such its name and description. */ @JsonIgnoreProperties(ignoreUnknown = true) public class ProductAttribute implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * 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; } /** * 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; } /** * 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; } /** * 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; } }