Rev 167 | Rev 484 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.hotspot.dashbaord.shared.actions;import com.google.gwt.user.client.rpc.IsSerializable;public class Order implements IsSerializable{private static final long serialVersionUID = 5804421607858217477L;private long customerId;private long transactionId;private long createdOn;private long expectedDeliveryTime;private String status;private String statusMessage;private boolean alert;//For extra infoprivate long sku_id;private String model;private String colour;private String vendor;private Shipment shipment;@SuppressWarnings("unused")private Order(){ }public Order(long customerId, long transactionId, long createdOn, long expectedDeliveryTime, String status, String message, String model, String colour, String vendor, long sku_id){this.customerId = customerId;this.transactionId = transactionId;this.createdOn = createdOn;this.expectedDeliveryTime = expectedDeliveryTime;this.status = status;this.statusMessage = message;this.sku_id = sku_id;this.model = model;this.colour = colour;this.vendor = vendor;}public long getCustomerId() {return customerId;}public long getTransactionId() {return transactionId;}public long getCreatedOn() {return createdOn;}public long getExpectedDeliveryTime() {return expectedDeliveryTime;}public String getStatus() {return status;}public void setStatusMessage(String message){this.statusMessage = message;}public String getStatusMessage() {return statusMessage;}public boolean isAlert() {return alert;}public void setAlert(boolean alert) {this.alert = alert;}public long getSku_id() {return sku_id;}public String getModel() {return model;}public String getColour() {return colour;}public String getVendor() {return vendor;}public Shipment getShipment() {return shipment;}public void setShipment(Shipment shipment) {this.shipment = shipment;}}