Esempio n. 1
0
        public AncillaryServicePrice DeepCopy()
        {
            var result = new AncillaryServicePrice();

            result.Value           = Value?.Copy();
            result.ServiceRef      = ServiceRef?.DeepCopy();
            result.SegmentRef      = SegmentRef?.DeepCopy();
            result.LoyaltyCardRef  = LoyaltyCardRef?.DeepCopy();
            result.TravellersTypes = TravellersTypes != null ? new HashSet <PassTypes>(TravellersTypes) : null;
            result.TravellerRef    = TravellerRef?.DeepCopy();

            return(result);
        }