com.salesmanager.shop.model.shoppingcart.PersistableShoppingCartItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sm-shop-model Show documentation
Show all versions of sm-shop-model Show documentation
sm-shop-model contains Shopizer model objects for api
The newest version!
package com.salesmanager.shop.model.shoppingcart;
import java.io.Serializable;
import java.util.List;
import com.salesmanager.shop.model.catalog.product.attribute.ProductAttribute;
/**
* Compatible with v1
* @author c.samson
*
*/
public class PersistableShoppingCartItem implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Long product;//product id
private int quantity;
private String promoCode;
public String getPromoCode() {
return promoCode;
}
public void setPromoCode(String promoCode) {
this.promoCode = promoCode;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
private List attributes;
public Long getProduct() {
return product;
}
public void setProduct(Long product) {
this.product = product;
}
public List getAttributes() {
return attributes;
}
public void setAttributes(List attributes) {
this.attributes = attributes;
}
}