public PaymentCardModel() { PaymentCard = new PaymentCard(); Bill = new Bill(); PaymentCardTypes = new List <PaymentCardType>() { new PaymentCardType() { Id = 1, Name = "MasterCard" }, new PaymentCardType() { Id = 2, Name = "Maestro" }, new PaymentCardType() { Id = 3, Name = "Visa" }, new PaymentCardType() { Id = 4, Name = "Visa Electron" } }; Currency = new CurrencyMoney(); }
public UtilityModel() { Utilities = new List <Utility>(); Units = new List <Unit>(); Utility = new Utility(); Unit = new Unit(); Currency = new CurrencyMoney(); MeterQty = 0; }
public CustomerModel() { Customers = new List <Customer>(); AddressModel = new AddressModel(); Meters = new List <Meter>(); Customer = new Customer(); CustomerTypes = new List <CustomerType>(); Currency = new CurrencyMoney(); TotalCount = 0; }
public BillModel() { Bill = new Bill(); Bills = new List <Bill>(); CustomerModel = new CustomerModel(); Currency = new CurrencyMoney(); UtilitySupplierModel = new UtilitySupplierModel(); UtilityChargesChartData = new List <ChartData>(); Temperatures = new List <TemperatureModel>(); }
public void MachineSellerSellItem(ItemInfo itemInfo, int count, Vector3 position) { if (save.itemsCostMoney) { long value = itemInfo.value * count; save.money += value; moneyChanged.Invoke(); CurrencyMoney currency = ObjectPooler.instance.Get <CurrencyMoney>(); currency.Initialize(position); CurrencyEvent currencyEvent = new CurrencyEvent(GAResourceFlowType.Source, CurrencyType.Money, CurrencyEventType.MachineSellerRevenue, itemInfo); Analytics.instance.NewCurrencyEvent(currencyEvent, value); } }
public CalculatorItemModel() { Utilities = new List <Utility>(); Currency = new CurrencyMoney(); }