Beispiel #1
0
 public override void Next()
 {
     if (Refund.Order.OrderSource == OrderSource.OffLine)
     {
         Refund.ChangeState(new DoneState(Refund));
         return;
     }
     Refund.ChangeState(new DealingBySellerState(Refund));
 }
Beispiel #2
0
 public override void Next()
 {
     Refund.ChangeState(new DoneState(Refund));
 }
 public override void Next()
 {
     Refund.ChangeState(new InvalidatedState(Refund));
 }
 public override void Cancel()
 {
     Refund.ChangeState(new DoneState(Refund));
 }
Beispiel #5
0
 public override void Cancel()
 {
     Refund.ChangeState(new CanceledByBuyerState(Refund));
 }
Beispiel #6
0
 public override void Next()
 {
     Refund.ChangeState(new DealingBySellerState(Refund));
 }