Example #1
0
 public QuotaPriceData(QuotaPriceData from)
 {
     QuotaState  = from.QuotaState;
     QuotaPlaces = from.QuotaPlaces;
     if (from.PriceValue != null)
     {
         PriceValue = new PriceValue(from.PriceValue);
     }
 }
Example #2
0
 public FlightVariant(FlightVariant from)
 {
     if (from.FlightParamKeys != null)
     {
         FlightParamKeys = new FlightVariantKeys(from.FlightParamKeys);
     }
     CharterClassCode = from.CharterClassCode;
     PortCodeFrom     = from.PortCodeFrom;
     CityKeyFrom      = from.CityKeyFrom;
     PortCodeTo       = from.PortCodeTo;
     CityKeyTo        = from.CityKeyTo;
     AirlineCode      = from.AirlineCode;
     FlightNumber     = from.FlightNumber;
     AircraftType     = from.AircraftType;
     DurationMin      = from.DurationMin;
     DurationMax      = from.DurationMax;
     DepartTime       = from.DepartTime;
     ArrivalTime      = from.ArrivalTime;
     if (from.FlightQuotaPriceData != null)
     {
         FlightQuotaPriceData = new QuotaPriceData(from.FlightQuotaPriceData);
     }
 }