예제 #1
0
 public static function createDummySeatReservationRequest()
 {
     $seatReservationRequest = new SeatReservationRequest();
     $seatRequest = self::createDummySeatRequest();
     $seatReservationRequest->setClaveOrigen($seatRequest->getClaveOrigen());
     $seatReservationRequest->setClaveDestino($seatRequest->getClaveDestino());
     $seatReservationRequest->setFechaCorrida($seatRequest->getFechaCorrida());
     $seatReservationRequest->setHora("");
     $seatReservationRequest->setNumAdulto(1);
     $seatReservationRequest->setNumNino(0);
     $seatReservationRequest->setNumInsen(0);
     $seatReservationRequest->setNumEstudiante(0);
     $seatReservationRequest->setNumMaestro(0);
     $seatReservationRequest->setNumCorrida(191);
     $seatReservationRequest->setAsientos(20);
     $seatReservationRequest->setNombre("LUIS PEREZ GARCIA                 ");
     $seatReservationRequest->setFolioReservacion(0);
     $seatReservationRequest->setCveEmpresaSolicita($seatRequest->getEmpresaSolicita());
     $seatReservationRequest->setCveEmpresaViaje($seatRequest->getEmpresaCorrida());
     $seatReservationRequest->setNumPromocion(0);
     $seatReservationRequest->setCadenaPromocion("");
     $seatReservationRequest->setTipoTerminal("I");
     $seatReservationRequest->setTipoCliente("A");
     $seatReservationRequest->setTipoOperacion("R");
     $seatReservationRequest->setEsIntercambio(0);
     $seatReservationRequest->setClaveOperacionOriginal("");
     $seatReservationRequest->setConsecutivoOperOriginal("");
     $seatReservationRequest->setNumProgPaisano(0);
     $seatReservationRequest->setEsBoletoFrontera("");
     $seatReservationRequest->setDatosBoletosFrontera("");
     return $seatReservationRequest;
 }