/** * 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.util.List; import java.util.HashMap; 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.AttributeDetail; import com.mozu.api.contracts.productruntime.ProductOptionValue; /** * Properties of the product option to create such as attribute detail, fully qualified name, and list of product option values. */ @JsonIgnoreProperties(ignoreUnknown = true) public class ProductOption implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The fully qualified name of the attribute, which is a user defined attribute identifier. */ protected String attributeFQN; public String getAttributeFQN() { return this.attributeFQN; } public void setAttributeFQN(String attributeFQN) { this.attributeFQN = attributeFQN; } /** * Indicates if the object has or can have multiple properties or values. If true, the object can have more than one value, selectable by shoppers through the storefront or configurable through the catalogs. */ protected Boolean isMultiValue; public Boolean getIsMultiValue() { return this.isMultiValue; } public void setIsMultiValue(Boolean isMultiValue) { this.isMultiValue = isMultiValue; } /** * Indicates if the property, attribute, product option, or product extra is required. If true, the object must have a defined value. */ protected Boolean isRequired; public Boolean getIsRequired() { return this.isRequired; } public void setIsRequired(Boolean isRequired) { this.isRequired = isRequired; } /** * The product attribute details common between all attribute types - properties, options, and extras. */ protected AttributeDetail attributeDetail; public AttributeDetail getAttributeDetail() { return this.attributeDetail; } public void setAttributeDetail(AttributeDetail attributeDetail) { this.attributeDetail = attributeDetail; } /** * List of value data for objects. */ protected List<ProductOptionValue> values; public List<ProductOptionValue> getValues() { return this.values; } public void setValues(List<ProductOptionValue> values) { this.values = values; } }