Example #1
0
 public override void Next()
 {
     if (Refund.Order.OrderSource == OrderSource.OffLine)
     {
         Refund.ChangeState(new DoneState(Refund));
         return;
     }
     Refund.ChangeState(new DealingBySellerState(Refund));
 }
Example #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));
 }
Example #5
0
 public override void Cancel()
 {
     Refund.ChangeState(new CanceledByBuyerState(Refund));
 }
Example #6
0
 public override void Next()
 {
     Refund.ChangeState(new DealingBySellerState(Refund));
 }