PageRenderTime 67ms CodeModel.GetById 37ms app.highlight 2ms RepoModel.GetById 25ms app.codeStats 0ms

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

#
C# | 23 lines | 21 code | 2 blank | 0 comment | 0 complexity | d697100f7244523793145be465c569b6 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 Charged : OrderState {
 9        public Charged() { }
10        public Charged(Order order)
11            : base(order) {
12            ID = 4;
13        }
14
15        public override void Ship() {
16            _Ship();
17        }
18        public override void Refund() {
19            _Refund();
20            _Close();
21        }
22    }
23}