Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package in.shop2020.hotspot.dashbaord.shared.actions;

import java.util.List;

import net.customware.gwt.dispatch.shared.Result;

public class AllOrderListResponse implements Result{

        /**
         * 
         */
        private static final long serialVersionUID = 903720358656610890L;
        
        private List<Order> orders;
        private OrderType type;
        
        @SuppressWarnings("unused")
        private AllOrderListResponse(){}
        
        public AllOrderListResponse(OrderType type, List<Order> orders){
                this.orders = orders;
                this.type = type;
        }
        
        public List<Order> getOrders() {
                return orders;
        }

        public OrderType getType() {
                return type;
        }

}