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

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

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

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