/** * 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; /** * Properties of a message displayed when a product validation failure occurs for a shopper in a storefront. */ @JsonIgnoreProperties(ignoreUnknown = true) public class ValidationMessage implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The text of the change message, such as "This product is no longer available." System-supplied and read-only. */ protected String message; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } /** * The severity level of validation failures for shipping rates and products. */ protected String severity; public String getSeverity() { return this.severity; } public void setSeverity(String severity) { this.severity = severity; } /** * Source for an action or container for originating content. Source is used as an origin for validation and notification messages based on successful or failed actions. For originating content, source is used for the facet source information, including the category, price, or attribute properties. */ protected String source; public String getSource() { return this.source; } public void setSource(String source) { this.source = source; } /** * Unique identifier of the entity that triggered the validation. */ protected String sourceId; public String getSourceId() { return this.sourceId; } public void setSourceId(String sourceId) { this.sourceId = sourceId; } /** * Type of validation error that occurred. This can be checked programatically. Must be one of the values in ValidationTypeConst. */ protected String validationType; public String getValidationType() { return this.validationType; } public void setValidationType(String validationType) { this.validationType = validationType; } }