Subversion Repositories SmartDukaan

Rev

Rev 306 | 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;
        
        
        @SuppressWarnings("unused")
        private Order(){ }
        
        public Order(long customerId, long transactionId, long createdOn, long expectedDeliveryTime, String status, String message){
                this.customerId = customerId;
                this.transactionId = transactionId;
                this.createdOn = createdOn;
                this.expectedDeliveryTime = expectedDeliveryTime;
                this.status = status;
                this.statusMessage = message;
        }

        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 String getStatusMessage() {
                return statusMessage;
        }       
}