PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Kona.Model/Order/OrderStates/NewOrder.cs

#
C# | 27 lines | 26 code | 1 blank | 0 comment | 0 complexity | fc1dd6ac58bdaf89ce71e16d333e8da5 MD5 | raw file
Possible License(s): BSD-3-Clause
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5
 6namespace Kona.Model {
 7    [Serializable]
 8    public class NewOrder : OrderState {
 9        public NewOrder(){}
10        public NewOrder(Order order):base(order) {
11            this.ID = 1;
12        }
13        public override bool CanApplyDiscount {
14            get {
15                return true;
16            }
17        }
18        public override bool CanChangeItems {
19            get {
20                return true;
21            }
22        }
23        public override void Submit() {
24            _Submit();
25        }
26    }
27}