/**
* 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.shippingruntime;
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.shippingruntime.Category;
import com.mozu.api.contracts.shippingruntime.ProductOption;
import com.mozu.api.contracts.shippingruntime.ProductProperty;
import com.mozu.api.contracts.shippingruntime.ItemMeasurements;
/**
* Properties of summary data for a product, including all data for name, code, categories, options, types, measurements, and more.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProductSummary implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Price (unit price * quantity)
*/
protected Double price;
public Double getPrice() {
return this.price;
}
public void setPrice(Double price) {
this.price = price;
}
/**
* The unique, user-defined product code of a product, used throughout to reference and associate to a product.
*/
protected String productCode;
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
}
/**
* Product name/description
*/
protected String productDescription;
public String getProductDescription() {
return this.productDescription;
}
public void setProductDescription(String productDescription) {
this.productDescription = productDescription;
}
/**
* A product type is like a product template.
*/
protected String productType;
public String getProductType() {
return this.productType;
}
public void setProductType(String productType) {
this.productType = productType;
}
/**
* The specified quantity of objects and items. This property is used for numerous object types including products, options, components within a product bundle, cart and order items, returned items, shipping line items, items in a digital product. and items associated with types and reservations.
*/
protected Integer quantity;
public Integer getQuantity() {
return this.quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
/**
* The list of all categories associated with the product. These categories contain products, can have discounts associated, and define the grouping of products to display on the storefront.
*/
protected List<Category> categories;
public List<Category> getCategories() {
return this.categories;
}
public void setCategories(List<Category> categories) {
this.categories = categories;
}
/**
* List of option attributes configured for an object. These values are associated and used by products, product bundles, and product types.
*/
protected List<ProductOption> options;
public List<ProductOption> getOptions() {
return this.options;
}
public void setOptions(List<ProductOption> options) {
this.options = options;
}
/**
* Collection of property attributes defined for the object. Properties are associated to all objects within , including documents, products, and product types.
*/
protected List<ProductProperty> properties;
public List<ProductProperty> getProperties() {
return this.properties;
}
public void setProperties(List<ProductProperty> properties) {
this.properties = properties;
}
/**
* Product specific dimensions used for shipping, used by product summary and rate request items. The dimensions can differ between the two uses as a `RateRequestItem `package may contain one or more products.
*/
protected ItemMeasurements unitMeasurements;
public ItemMeasurements getUnitMeasurements() {
return this.unitMeasurements;
}
public void setUnitMeasurements(ItemMeasurements unitMeasurements) {
this.unitMeasurements = unitMeasurements;
}
}