Esempio n. 1
0
        public static FuelOrderFeesCollection LoadList(int FuelOrderID)
        {
            FuelOrderFeesCollection collection = new FuelOrderFeesCollection();

            collection.LoadAllFees(FuelOrderID);
            return(collection);
        }
Esempio n. 2
0
        public static FuelOrderFeesCollection DeleteFuelOrderFee(int id)
        {
            FuelOrderFeesCollection collection = new FuelOrderFeesCollection();

            collection.Delete(id);
            return(collection);
        }
Esempio n. 3
0
        public FuelOrderFeesCollection GetAllWithPricingData()
        {
            FuelOrderFeesCollection result = new FuelOrderFeesCollection();

            foreach (FuelOrderFees fee in this)
            {
                if (!fee.HasPricingData())
                {
                    continue;
                }
                result.Add(fee);
            }
            return(result);
        }