com.salesmanager.shop.model.order.OrderEntity 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.ArrayList;
import java.util.Date;
import java.util.List;
import com.salesmanager.core.model.order.orderstatus.OrderStatus;
import com.salesmanager.core.model.order.payment.CreditCard;
import com.salesmanager.core.model.payments.PaymentType;
import com.salesmanager.shop.model.order.total.OrderTotal;
import com.salesmanager.shop.model.order.v0.Order;
public class OrderEntity extends Order implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private List totals;
private List attributes = new ArrayList();
private PaymentType paymentType;
private String paymentModule;
private String shippingModule;
private List previousOrderStatus;
private OrderStatus orderStatus;
private CreditCard creditCard;
private Date datePurchased;
private String currency;
private boolean customerAgreed;
private boolean confirmedAddress;
private String comments;
public void setTotals(List totals) {
this.totals = totals;
}
public List getTotals() {
return totals;
}
public PaymentType getPaymentType() {
return paymentType;
}
public void setPaymentType(PaymentType paymentType) {
this.paymentType = paymentType;
}
public String getPaymentModule() {
return paymentModule;
}
public void setPaymentModule(String paymentModule) {
this.paymentModule = paymentModule;
}
public String getShippingModule() {
return shippingModule;
}
public void setShippingModule(String shippingModule) {
this.shippingModule = shippingModule;
}
public CreditCard getCreditCard() {
return creditCard;
}
public void setCreditCard(CreditCard creditCard) {
this.creditCard = creditCard;
}
public Date getDatePurchased() {
return datePurchased;
}
public void setDatePurchased(Date datePurchased) {
this.datePurchased = datePurchased;
}
public void setPreviousOrderStatus(List previousOrderStatus) {
this.previousOrderStatus = previousOrderStatus;
}
public List getPreviousOrderStatus() {
return previousOrderStatus;
}
public void setOrderStatus(OrderStatus orderStatus) {
this.orderStatus = orderStatus;
}
public OrderStatus getOrderStatus() {
return orderStatus;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public boolean isCustomerAgreed() {
return customerAgreed;
}
public void setCustomerAgreed(boolean customerAgreed) {
this.customerAgreed = customerAgreed;
}
public boolean isConfirmedAddress() {
return confirmedAddress;
}
public void setConfirmedAddress(boolean confirmedAddress) {
this.confirmedAddress = confirmedAddress;
}
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public List getAttributes() {
return attributes;
}
public void setAttributes(List attributes) {
this.attributes = attributes;
}
}