public UpdateFuelPriceSerializeAction(IFuelPumpRestClient fuelPumpRestClient, int option, int counter) : base("UpdateFuelPrice") { _fuelPumpRestClient = fuelPumpRestClient; _option = option; _counter = counter; }
public SaveBasePricesSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, FuelPrices prices) : base("SaveBasePrices") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _contract = new FuelPricesContract { isReadTotalizerChecked = prices.IsReadTotalizerChecked, isPricesToDisplayChecked = prices.IsPricesToDisplayChecked, isReadTankDipChecked = prices.IsReadTankDipChecked, tillNumber = _cacheManager.TillNumberForSale, fuelPrices = (from f in prices.Prices select new FuelPriceContract { cashPrice = f.CashPrice, creditPrice = f.CreditPrice, grade = f.Grade, gradeId = f.GradeId, level = f.Level, levelId = f.LevelId, taxExemptedCashPrice = f.TaxExemptedCashPrice, taxExemptedCreditPrice = f.TaxExemptedCreditPrice, tier = f.Tier, tierId = f.TierId, row = f.Row }).ToList() }; }
public ReadTotalizerSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager) : base("ReadTotalizer") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; }
public UncompleteDeleteSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int pumpId) : base("UncompleteDelete") { _pumpId = pumpId; _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; }
public VerifyGroupBasePricesSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, FuelPrices fuelPrices) : base("VerifyGroupBasePrices") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _fuelPrices = fuelPrices; }
public LoadGradeSerializeAction(IFuelPumpRestClient fuelPumpRestClient, int pumpId, bool switchPrepay, int tillNumber) : base("LoadGrade") { _fuelPumpRestClient = fuelPumpRestClient; _pumpId = pumpId; _switchPrepay = switchPrepay; _tillNumber = tillNumber; }
public SetBasePriceSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, Price fuelPrice) : base("SetBasePrice") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _fuelPrice = fuelPrice; }
public GetPumpActionSerializeAction(IFuelPumpRestClient fuelPumpRestClient, int pumpId, bool isStopPressed, bool isResumePressed) : base("GetPumpAction") { _fuelPumpRestClient = fuelPumpRestClient; _pumpId = pumpId; _isStopPressed = isStopPressed; _isResumePressed = isResumePressed; }
public InitializeFuelPumpSerializeAction(IFuelPumpRestClient fuelPumpRestClient, bool isInitializingPump, int tillNumber) : base("InitializeFuelPump") { _fuelPumpRestClient = fuelPumpRestClient; _isInitializingPump = isInitializingPump; _tillNumber = tillNumber; }
public LoadPricesSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, bool grouped) : base("LoadPrices") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _grouped = grouped; }
public UpdateTierLevelSerializeAction(IFuelPumpRestClient fuelPumpRestClient, List <int> pumpIds, int tierId, int levelId) : base("UpdateTierLevel") { _fuelPumpRestClient = fuelPumpRestClient; _updateTierLevelContract = new UpdateTierLevelContract { pumpIds = pumpIds, levelId = levelId, tierId = tierId }; }
public GetFuelVolumeSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int gradeId, int pumpId, string propaneValue) : base("GetFuelVolume") { _fuelPumpRestClient = fuelPumpRestClient; _addPropane = new AddPropane { gradeId = gradeId, propaneValue = propaneValue, pumpId = pumpId, registerNumber = cacheManager.RegisterNumber, saleNumber = cacheManager.SaleNumber, tillNumber = cacheManager.TillNumber }; }
public DeletePrepaySerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int activePump) : base("DeletePrepay") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _addPrepayContract = new DeletePrepayContract { activePump = activePump, registerNumber = _cacheManager.RegisterNumber, saleNumber = _cacheManager.SaleNumber, shiftNumber = _cacheManager.ShiftNumber, tillNumber = _cacheManager.TillNumber }; }
public AddBasketSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int activePump, string basketValue) : base("AddBasket") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _addBasketContract = new AddBasketContract { activePump = activePump, basketValue = basketValue, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber, registerNumber = _cacheManager.RegisterNumber }; }
public SwitchPrepaySerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int activePump, int newPumpId) : base("SwitchPrepay") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _switchPrepayContract = new SwitchPrepayContract { activePump = activePump, newPumpId = newPumpId, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumber }; }
public UncompleteOverPaymentSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int pumpId, string finishAmount, string finishQuantity, string finishPrice, string prepayAmount, int positionId, int gradeId, int saleNumber) : base("UncompleteOverPayment") { _fuelPumpRestClient = fuelPumpRestClient; _uncompletePrepayChangePostContract = new UncompletePrepayChangePostContract { finishAmount = finishAmount, finishPrice = finishPrice, finishQty = finishQuantity, gradeId = gradeId, positionId = positionId.ToString(), prepayAmount = prepayAmount, pumpId = pumpId, saleNum = saleNumber, tillNumber = cacheManager.TillNumber }; }
public AddPrepaySerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int activePump, string amount, string fuelGrade, bool isAmountCash) : base("AddPrepay") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _addPrepayContract = new AddPrepayContract { activePump = activePump, registerNumber = _cacheManager.RegisterNumber, saleNumber = _cacheManager.SaleNumber, shiftNumber = _cacheManager.ShiftNumber, tillNumber = _cacheManager.TillNumber, amount = amount, fuelGrade = fuelGrade, isAmountCash = isAmountCash }; }
public AddManuallySerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, int pumpId, string amount, bool isCashSelected, string grade) : base("AddManually") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _payload = new AddFuelManuallyContract { amount = amount, grade = grade, isCashSelected = isCashSelected, pumpId = pumpId, registerNumber = _cacheManager.RegisterNumber, saleNumber = _cacheManager.SaleNumber, tillNumber = _cacheManager.TillNumberForSale }; }
public SetGroupBasePriceSerializeAction(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager, List <Price> fuelPrices, int row) : base("SetGroupBasePrice") { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; _fuelPriceContract = new SetGroupFuelPriceContract { row = row, prices = (from f in fuelPrices select new FuelPriceContract { cashPrice = f.CashPrice, creditPrice = f.CreditPrice, grade = f.Grade, row = f.Row, taxExemptedCashPrice = f.TaxExemptedCashPrice, taxExemptedCreditPrice = f.TaxExemptedCreditPrice }).ToList() }; }
public CheckErrorSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("CheckError") { _fuelPumpRestClient = fuelPumpRestClient; }
public StopBroadcastSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("StopBroadcast") { _fuelPumpRestClient = fuelPumpRestClient; }
public UncompletePrepayLoadSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("UncompletePrepayLoad") { _fuelPumpRestClient = fuelPumpRestClient; }
public ResumeAllSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("Resume All") { _fuelPumpRestClient = fuelPumpRestClient; }
public StopAllSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("StopAll") { _fuelPumpRestClient = fuelPumpRestClient; }
public GetHeadOfficeNotificationSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("GetHeadOfficeNotification") { _fuelPumpRestClient = fuelPumpRestClient; }
public LoadPropaneGradeSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("LoadPropaneGrade") { _fuelPumpRestClient = fuelPumpRestClient; }
public LoadPropanePumpSerializeAction(IFuelPumpRestClient fuelPumpRestClient, int gradeId) : base("LoadPropanePump") { _fuelPumpRestClient = fuelPumpRestClient; _gradeId = gradeId; }
public FuelPumpSerializeManager(IFuelPumpRestClient fuelPumpRestClient, ICacheManager cacheManager) { _fuelPumpRestClient = fuelPumpRestClient; _cacheManager = cacheManager; }
public LoadTierLevelSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("LoadTierLevel") { _fuelPumpRestClient = fuelPumpRestClient; }
public GetPumpStatusSerializeAction(IFuelPumpRestClient fuelPumpRestClient) : base("GetPumpStatus") { _fuelPumpRestClient = fuelPumpRestClient; }