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