public PointsOfSaleController(IBusPublisher busPublisher, IPointsOfSaleService pointsOfSaleService, IPointOfSaleAuthorizationLoader authLoader, IAccountingGroupAuthorizationLoader accGroupAuthLoader, IIdentityService idService) : base(busPublisher) { _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService)); _authLoader = authLoader ?? throw new ArgumentNullException(nameof(authLoader)); _accGroupAuthLoader = accGroupAuthLoader ?? throw new ArgumentNullException(nameof(accGroupAuthLoader)); _idService = idService ?? throw new ArgumentNullException(nameof(idService)); }
public SalesController(IBusPublisher busPublisher, IAccountingService accountingService, IPointsOfSaleService pointsOfSaleService, IPosAgAuthorizationLoader posAgAuthorizationLoader, IAccountingGroupAuthorizationLoader agAuthLoader) : base(busPublisher) { _accountingService = accountingService ?? throw new ArgumentNullException(nameof(accountingService)); _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService)); _posAgAuthorizationLoader = posAgAuthorizationLoader; _agAuthLoader = agAuthLoader; }
public ProcessSwipeHandler(IProductsService prodSvc, IPointsOfSaleService posSvc, IOffersService offSvc, IIdentityService idSvc, IAccountingGroupsService agSvc, IBusPublisher busPublisher, IAccountingService acSvc) { _prodSvc = prodSvc; _posSvc = posSvc; _offSvc = offSvc; _idSvc = idSvc; _agSvc = agSvc; _busPublisher = busPublisher; _acSvc = acSvc; }
public MqttListenerService(IManagedMqttClient client, IManagedMqttClientOptions options, IConfiguration configuration, IServiceId serviceId, ILogger <MqttListenerService> logger, IPointsOfSaleService posService, IServiceProvider serviceProvider, IPosTopicClassifier posTopicClassifier) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (serviceId == null) { throw new ArgumentNullException(nameof(serviceId)); } _client = client ?? throw new ArgumentNullException(nameof(client)); _options = options ?? throw new ArgumentNullException(nameof(options)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _posService = posService ?? throw new ArgumentNullException(nameof(posService)); _posTopicClassifier = posTopicClassifier ?? throw new ArgumentNullException(nameof(posTopicClassifier)); _client.UseApplicationMessageReceivedHandler(OnMqttMessageReceived); _client.UseConnectedHandler(args => OnConnectedHandler(args)); _client.UseDisconnectedHandler(args => OnDisconnectedHandler(args)); _messageHandlers = serviceProvider.GetServices <IMqttMessageHandler>().ToArray(); }
public PosExistsRequirementHandler(IPointsOfSaleService posService) { _posService = posService; }
public PointOfSaleApiKeyAuthenticator(IPasswordHasher <AuthenticationMeansWithValue> passwordHasher, IBusPublisher busPublisher, IPointsOfSaleService posService, IIdentityService identityService) : base(passwordHasher) { _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _posService = posService ?? throw new ArgumentNullException(nameof(posService)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); }
public AdvancedUserRequirementHandler(IAccountingGroupsService accountingGroupsService, IPointsOfSaleService pointsOfSaleService) { _accountingGroupsService = accountingGroupsService ?? throw new ArgumentNullException(nameof(accountingGroupsService)); _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService)); }
public PosFeatureVerifier(IPointsOfSaleService service) { _service = service ?? throw new ArgumentNullException(nameof(service)); }
public PointOfSaleVerifier(IPointsOfSaleService service) : base("point_of_sale", "point of sale") { _service = service ?? throw new ArgumentNullException(nameof(service)); }
public PosAgAuthorizationLoader(IPointsOfSaleService posService, IAccountingGroupAuthorizationLoader agAuthLoader) { _posService = posService ?? throw new ArgumentNullException(nameof(posService)); _agAuthLoader = agAuthLoader ?? throw new ArgumentNullException(nameof(agAuthLoader)); }
public DeleteOrphanedAuthorizationsActivity(IBusPublisher busPublisher, IPointsOfSaleService posService, ILogger <DeleteOrphanedAuthorizationsActivity> logger) : base(logger) { _busPublisher = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher)); _posService = posService ?? throw new ArgumentNullException(nameof(posService)); }
public PointOfSaleAuthorizationLoader(IPointsOfSaleService pointsOfSaleService, IPosAgAuthorizationLoader posAgAuthLoader) { _pointsOfSaleService = pointsOfSaleService ?? throw new ArgumentNullException(nameof(pointsOfSaleService)); _posAgAuthLoader = posAgAuthLoader; }