Esempio n. 1
0
 /// <summary>
 /// Pays the specified ticket.
 /// </summary>
 /// <param name="ticket">The ticket.</param>
 public override void Pay(MyCTS.Entities.InterJetTicket ticket)
 {
     //if (CostumerAccountInterJet.notSeatAssing)
     //this.InterJetServiceManager.MakeReservation(ticket);
     this.CreditCardsFields.SecurityCodeNumber = "111";
     this.InterJetServiceManager.UniversalAirTravelPlanPayment(ticket, this.CreditCardsFields);
     ticket.PaymentForm = string.Format("CCTP{0}", this.CreditCardsFields.CreditCardNumber);
 }
 public static void DestroyTicket()
 {
     Ticket = null;
 }