Exemplo n.º 1
0
 public void ExpressSenior()
 {
     //set the state for one senior regular ticket.
     PurchaseState.SelectDuration(TicketDuration.SingleFare);
     PurchaseState.IncreaseTicketQuantity(TicketAge.Senior);
     GoToSummaryPage();
 }
Exemplo n.º 2
0
 public void DecreaseTicketQuantity(TicketAge age)
 {
     PurchaseState.DecreaseTicketQuantity(age);
     TriggerPurchaseStateUIUpdate();
 }
Exemplo n.º 3
0
        //public object SelectedPage_actual { get { return SelectedPage; } set { SelectedPage = value; } }

        #region Initialization
        public void Init()
        {
            purchaseState = new PurchaseState();
            SelectedPage  = new HomePage();
        }
Exemplo n.º 4
0
 public void SelectDuration(TicketDuration duration)
 {
     PurchaseState.SelectDuration(duration);
     this.GoToFaresPage();
 }