public RefundHandler(ILogger <RefundHandler> log, IOutputWriter <IList <RefundResponse> > outputWriter, IMobilePayService mobilePayService) { _log = log; _mobilePayService = mobilePayService; _outputWriter = outputWriter; }
public MainViewModel(IProductService productService, IMobilePayService mobilePayService, IPaymentResultHandler paymentResultHandler) { this.productService = productService; this.mobilePayService = mobilePayService; this.paymentResultHandler = paymentResultHandler; BuyProductCommand = new RelayCommand<Product>(Buy); Products = new List<Product>(productService.GetAllProducts()); }
public PurchaseService(CoffeeCardContext context, IMobilePayService mobilePayService, MobilePaySettings mobilePaySettings, IEmailService emailService, IMapperService mapper) { _context = context; _mobilePayService = mobilePayService; _mobilePaySettings = mobilePaySettings; _emailService = emailService; _mapper = mapper; }
public MainViewModel(IProductService productService, IMobilePayService mobilePayService, IPaymentResultHandler paymentResultHandler) { this.productService = productService; this.mobilePayService = mobilePayService; this.paymentResultHandler = paymentResultHandler; BuyProductCommand = new RelayCommand <Product>(Buy); Products = new List <Product>(productService.GetAllProducts()); }
public MobilePayController(IMobilePayService mobilePayService) { _mobilePayService = mobilePayService; }