com.salesmanager.shop.model.order.ReadableShopOrder 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.order;
import java.io.Serializable;
import java.util.List;
import com.salesmanager.shop.model.order.shipping.ReadableShippingSummary;
import com.salesmanager.shop.model.order.total.ReadableOrderTotal;
import com.salesmanager.shop.model.order.v0.ReadableOrder;
public class ReadableShopOrder extends ReadableOrder implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private ReadableShippingSummary shippingSummary;
private String errorMessage = null;//global error message
private List subTotals;//order calculation
private String grandTotal;//grand total - order calculation
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getGrandTotal() {
return grandTotal;
}
public void setGrandTotal(String grandTotal) {
this.grandTotal = grandTotal;
}
public List getSubTotals() {
return subTotals;
}
public void setSubTotals(List subTotals) {
this.subTotals = subTotals;
}
public ReadableShippingSummary getShippingSummary() {
return shippingSummary;
}
public void setShippingSummary(ReadableShippingSummary shippingSummary) {
this.shippingSummary = shippingSummary;
}
}