com.salesmanager.shop.model.shoppingcart.ReadableShoppingCart 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.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import com.salesmanager.shop.model.order.total.ReadableOrderTotal;
/**
* Compatible with v1
* @author c.samson
*
*/
public class ReadableShoppingCart extends ShoppingCartEntity {
/**
*
*/
private static final long serialVersionUID = 1L;
private String code;
private BigDecimal subtotal;
private String displaySubTotal;
private BigDecimal total;
private String displayTotal;
private int quantity;
private Long order;
List products = new ArrayList();
List totals;
private Long customer;
public Long getCustomer() {
return customer;
}
public void setCustomer(Long customer) {
this.customer = customer;
}
public List getTotals() {
return totals;
}
public void setTotals(List totals) {
this.totals = totals;
}
public List getProducts() {
return products;
}
public void setProducts(List products) {
this.products = products;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public BigDecimal getSubtotal() {
return subtotal;
}
public void setSubtotal(BigDecimal subtotal) {
this.subtotal = subtotal;
}
public String getDisplaySubTotal() {
return displaySubTotal;
}
public void setDisplaySubTotal(String displaySubTotal) {
this.displaySubTotal = displaySubTotal;
}
public BigDecimal getTotal() {
return total;
}
public void setTotal(BigDecimal total) {
this.total = total;
}
public String getDisplayTotal() {
return displayTotal;
}
public void setDisplayTotal(String displayTotal) {
this.displayTotal = displayTotal;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public Long getOrder() {
return order;
}
public void setOrder(Long order) {
this.order = order;
}
}