/// <summary> /// Initializes a new instance of the <see cref="SquareTransactionService"/> class. /// </summary> /// <param name="logger">The application logger.</param> /// <param name="squareClient">The Square API Client.</param> /// <param name="transactionMapper">The transaction object mapper.</param> public SquareTransactionService(ILogger <SquareTransactionService> logger, ISquareClient squareClient, ITransactionMapper transactionMapper) { this.logger = logger; this.squareClient = squareClient; this.transactionMapper = transactionMapper; }
public TransactionsPage() { this.transactionMapper = new TransactionMapper(); this.transactionIOService = new TransactionIO(); this.InitializeComponent(); this.viewModel = new TransactionsPageViewModel(); this.DataContext = this.viewModel; }
public PaymentProvider( IBankClientService bankClientService, ITransactionResultRepository transactionResultRepository, ITransactionResultMapper transactionResultMapper, ITransactionMapper transactionMapper) { _bankClientService = bankClientService; _transactionResultRepository = transactionResultRepository; _transactionResultMapper = transactionResultMapper; _transactionMapper = transactionMapper; }
public TransactionService(ITransactionMapper transactionMapper, ICategoryMapper categoryMapper, IExportableTransaction exportableTransaction, IUserSessionService userService, IRepositoryFactory repositoryFactory) { this.transactionMapper = transactionMapper; this.categoryMapper = categoryMapper; this.exportableTransaction = exportableTransaction; this.userService = userService; this.repositoryFactory = repositoryFactory; }
public TransactionsExtendedV1Controller(ITransactionPagingQuery transactionPagingQuery, ITransactionMapper transactionMapper) { this.transactionPagingQuery = transactionPagingQuery; this.transactionMapper = transactionMapper; }