public TransactionBuilderService(ITransactionOutputsService transactionOutputsService, IFeeService feeService, Network network) { _transactionOutputsService = transactionOutputsService; _feeService = feeService; _network = network; }
public async Task Setup() { var dbContextFactory = new DbContextFactory(); DbContext = dbContextFactory.CreateDbContext(new string[] { }); CoreUnitOfWork = new CoreEfCoreUnitOfWork(DbContext); var brankoBankService = new BrankoBankService(); BankRoutingService = new BankRoutingService(brankoBankService); FeeService = new FeeService(); var inMemorySettings = new Dictionary <string, string> { { "MaximalDeposit", "750000" }, { "MaximalWithdraw", "500000" }, { "NumberOfDaysAfterCreationWithNoFee", "0" }, { "FirstTransactionFreeEachMonth", "True" }, { "FixedFeeLimit", "10000" }, { "FixedFee", "100" }, { "PercentageFee", "1" }, { "AdminPassword", "123456" } }; Configuration = new ConfigurationBuilder() .AddInMemoryCollection(inMemorySettings) .Build(); }
public CheckoutModel( IProductService productSer, IMapper mapper, IPromotionService promotionSer, IFeeService feeSer) : base(productSer, mapper, promotionSer) { }
public LoanController(ILoanService loans, IFeeService feeService, IMemberService memberService, IBookService bookService) { _bookService = bookService; _memberService = memberService; _loanService = loans; _feeService = feeService; }
public async Task Setup() { var dbContextFactory = new SampleDbContextFactory(); DbContext = dbContextFactory.CreateDbContext(new string[] { }); CoreUnitOfWork = new EfCoreUnitOfWork(DbContext); var firstBankService = new FirstBankService(); BankRoutingService = new BankRoutingService(firstBankService); FeeService = new FeeService(); var inMemorySettings = new Dictionary <string, string> { { "MaxDeposit", "1000000" }, { "MaxWithdraw", "100000" }, { "DaysAfterWalletCreationWithNoFee", "7" }, { "IsFirstTransferFreeInMonth", "True" }, { "FixedFee", "100" }, { "FeeLimit", "10000" }, { "PercentageFee", "1" } }; Configuration = new ConfigurationBuilder() .AddInMemoryCollection(inMemorySettings) .Build(); }
//Constructor public RecordSearchService(IClientService clientService, IPersonService personService, IAddressService addressService, IFeeService feeService) { _cs = clientService; _ps = personService; _as = addressService; _fs = feeService; SetConnectionString(); }
public UtilityController(IAboutService aboutService, ITermsService termsService, IPolicyService policyService, IFeeService feeService, IContactService contactService, IHomeService homeService) { this.aboutService = aboutService; this.termsService = termsService; this.policyService = policyService; this.feeService = feeService; this.contactService = contactService; this.homeService = homeService; }
public ATMachine(ICardReader cardReader, ICardService cardService, IPaperNoteDispenseAlgorithm paperNoteDispenseAlgorithm, IFeeService feeService, IATMMaintenance atmMaintenance) { _cardReader = cardReader; _cardService = cardService; _paperNoteDispenseAlgorithm = paperNoteDispenseAlgorithm; _feeService = feeService; _atmMaintenance = atmMaintenance; }
public TransactionController(IWebHostEnvironment env, IDeliveryTypeService deliveryTypeService, ITransactionService transactionService, UserManager <ApplicationUser> userManager, ITransactionLinkService transactionLinkService, IFeeService feeService, IPaymentService paymentService) { this.deliveryTypeService = deliveryTypeService; this.transactionService = transactionService; this.userManager = userManager; this.env = env; this.transactionLinkService = transactionLinkService; this.feeService = feeService; this.paymentService = paymentService; }
public RefundOriginalPaymentBalance(IPaymentService paymentService, IFeeService feeService, IConfiguration configuration, IBookingCommiter bookingCommiter) { _paymentService = paymentService; _feeService = feeService; _configuration = configuration; _bookingCommiter = bookingCommiter; }
public TransactionBuilderService(ITransactionOutputsService transactionOutputsService, IAddressValidator addressValidator, IFeeService feeService, OperationsConfirmationsSettings confirmationsSettings) { _transactionOutputsService = transactionOutputsService; _addressValidator = addressValidator; _feeService = feeService; _confirmationsSettings = confirmationsSettings; }
public CartModel( IProductService productSer, IMapper mapper, IPromotionService promotionSer, IFeeService feeSer, ICache cache) : base(productSer, mapper, promotionSer) { _feeSer = feeSer; ListFee = _feeSer.GetListItems(); }
public FeesController(IFeeService feeService, ISchoolService schoolService, ISchoolClassService schoolClassService, ITransactionService transactionService, IStudentService studentService, IMapperService mapperService, IUserService userService) { this._feeService = feeService; this._schoolService = schoolService; this._schoolClassService = schoolClassService; this._studentService = studentService; this._mapperService = mapperService; this._userService = userService; this._transactionService = transactionService; }
public FeeServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.feeService = new FeeService( storageBroker: this.storageBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object); }
public BalanceStrategyContext(IPaymentService paymentService, IFeeService feeService, IConfiguration configuration, IBookingCommiter bookingCommiter, IBalanceStrategyFactory balanceStrategyFactory) { _paymentService = paymentService; _feeService = feeService; _configuration = configuration; _bookingCommiter = bookingCommiter; _balanceStrategyFactory = balanceStrategyFactory; }
public WalletService( ICoreUnitOfWork coreUnitOfWork, IBankRoutingService bankRoutingService, IConfiguration configuration, IFeeService feeService ) { CoreUnitOfWork = coreUnitOfWork; BankRoutingService = bankRoutingService; Configuration = configuration; FeeService = feeService; }
public BaseAdminModelFactory(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService, ICountryService countryService, ICurrencyService currencyService, ICustomerActivityService customerActivityService, ICustomerService customerService, IDateRangeService dateRangeService, IDateTimeHelper dateTimeHelper, IEmailAccountService emailAccountService, ILanguageService languageService, ILocalizationService localizationService, IManufacturerService manufacturerService, IManufacturerTemplateService manufacturerTemplateService, IPluginFinder pluginFinder, IProductTemplateService productTemplateService, IShippingService shippingService, IStateProvinceService stateProvinceService, IStaticCacheManager cacheManager, IStoreService storeService, ITaxCategoryService taxCategoryService, ITopicTemplateService topicTemplateService, IVendorService vendorService, ICarService carService, IDriverService driverService, IFeeService feeService) { _categoryService = categoryService; _categoryTemplateService = categoryTemplateService; _countryService = countryService; _currencyService = currencyService; _customerActivityService = customerActivityService; _customerService = customerService; _dateRangeService = dateRangeService; _dateTimeHelper = dateTimeHelper; _emailAccountService = emailAccountService; _languageService = languageService; _localizationService = localizationService; _manufacturerService = manufacturerService; _manufacturerTemplateService = manufacturerTemplateService; _pluginFinder = pluginFinder; _productTemplateService = productTemplateService; _shippingService = shippingService; _stateProvinceService = stateProvinceService; _cacheManager = cacheManager; _storeService = storeService; _taxCategoryService = taxCategoryService; _topicTemplateService = topicTemplateService; _vendorService = vendorService; this.carService = carService; this.driverService = driverService; this.feeService = feeService; }
public OrderPaymentManager(IOrderDao dao, IOrderPaymentDao paymentDao, IAccountDao accountDao, IOrderDao orderDao, ICommandBus commandBus, ICreditCardDao creditCardDao, IIbsOrderService ibs, IServerSettings serverSettings, IPaymentService paymentService, IFeeService feeService, ILogger logger) { _accountDao = accountDao; _orderDao = orderDao; _commandBus = commandBus; _dao = dao; _paymentDao = paymentDao; _creditCardDao = creditCardDao; _ibs = ibs; _serverSettings = serverSettings; _paymentService = paymentService; _feeService = feeService; _logger = logger; }
//Constructor public SettingsScreenViewModel(IEventAggregator eventAggregator, IRecordSearchService recordSearchService, IPersonService personService, IFeeService feeService, IClientService clientService, IAddressService addressService, IApplicationCommands applicationCommands, IStaffService staffService) { _ea = eventAggregator; _rs = recordSearchService; _ps = personService; _fs = feeService; _cs = clientService; _as = addressService; _ss = staffService; Settings = Settings.Instance; ListFeeStructures(); LocateDatabaseCommand = new DelegateCommand(LocateDatabase); SaveSettingsCommand = new DelegateCommand(SaveSettings); applicationCommands.SaveCompCommand.RegisterCommand(SaveSettingsCommand); }
public WalletService( ICoreUnitOfWork coreUnitOfWork, IBankRoutingService bankRoutingService, IFeeService feeService, IConfiguration configuration) { CoreUnitOfWork = coreUnitOfWork; BankRoutingService = bankRoutingService; FeeService = feeService; MaxDeposit = decimal.Parse(configuration["MaxDeposit"]); MaxWithdraw = decimal.Parse(configuration["MaxWithdraw"]); DaysAfterWalletCreationWithNoFee = Int32.Parse(configuration["DaysAfterWalletCreationWithNoFee"]); IsFirstTransferFreeInMonth = bool.Parse(configuration["IsFirstTransferFreeInMonth"]); FixedFee = decimal.Parse(configuration["FixedFee"]); PercentageFee = Int32.Parse(configuration["PercentageFee"]); FeeLimit = decimal.Parse(configuration["FeeLimit"]); AdminPASS = configuration["AdminPASS"]; }
public async Task Setup() { var dbContextFactory = new DbContextFactory(); DbContext = dbContextFactory.CreateDbContext(new string[] { }); CoreUnitOfWork = new CoreEfCoreUnitOfWork(DbContext); var brankoBankService = new BrankoBankService(); BankRoutingService = new BankRoutingService(brankoBankService); FeeService = new FeeService(); var inMemorySettings = new Dictionary <string, string> { { "MaximalDeposit", "2000000" }, { "MaximalWithdraw", "2000000" }, }; Configuration = new ConfigurationBuilder() .AddInMemoryCollection(inMemorySettings) .Build(); }
public Fees(IFeeService feeService) { feeService = _feeService; InitializeComponent(); dgvList.AutoGenerateColumns = false; }
public MyTransactionController(ITransactionLinkService transactionLinkService, ITransactionService transactionService, IFeeService feeService) { this.transactionLinkService = transactionLinkService; this.transactionService = transactionService; this.feeService = feeService; }
public TransactionBuilderService(ITransactionOutputsService transactionOutputsService, IFeeService feeService) { _transactionOutputsService = transactionOutputsService; _feeService = feeService; }
public FeesController(IFeeService feeService) => this.feeService = feeService;
public FeeController(ILogger <FeeController> logger, IFeeService feeService, IStudentService studentService) { _logger = logger; _feeService = feeService; _studentService = studentService; }
public FeeController(IFeeService service) { this.service = service; }
public FeesController(UserManager <EdumanUser> userManager, IFeeService feeService) { this.userManager = userManager; this.feeService = feeService; }
public FeesController(IFeeService feeService) : base(feeService) { }
public FeeController(IFeeService feeService) { _feeService = feeService as IFeeService ?? throw new ArgumentNullException(nameof(feeService)); }
public FeeController(IFeeService _feeService) : base(_feeService) { feeService = _feeService; }