示例#1
0
 public void TouchOut(TransportOptions options, string startingPoint, string stoppingPoint)
 {
     if (_objJourney != null)
     {
         if (_objJourney.complete(stoppingPoint.ToLower()))
         {
             RefundMoney(_objJourney.Fare_Difference(startingPoint.ToLower(), stoppingPoint.ToLower()));
         }
         else
         {
             _objJourney = new Journey(options, startingPoint.ToLower(), stoppingPoint.ToLower());
             Charge(_objJourney.Basic_Fare());
         }
     }
 }