Пример #1
0
 public TodoPagoPaymentProcessor(ISettingService settingService,
                                 ICurrencyService currencyService,
                                 ICustomerService customerService,
                                 IWebHelper webHelper,
                                 IOrderTotalCalculationService orderTotalCalculationService,
                                 IEncryptionService encryptionService,
                                 CurrencySettings currencySettings,
                                 TodoPagoPaymentSettings todoPagoPaymentSettings,
                                 TodoPagoTransactionObjectContex contex,
                                 TodoPagoAddressBookObjectContex contexAddressBook,
                                 HttpContextBase httpContext,
                                 ILogger logger,
                                 IOrderService orderService,
                                 ITodoPagoTransactionService todoPagoTransactionService,
                                 ITodoPagoAddressBookService todoPagoAddressBookService)
 {
     this._todoPagoPaymentSettings = todoPagoPaymentSettings;
     this._settingService          = settingService;
     this._currencyService         = currencyService;
     this._customerService         = customerService;
     this._currencySettings        = currencySettings;
     this._webHelper = webHelper;
     this._orderTotalCalculationService = orderTotalCalculationService;
     this._encryptionService            = encryptionService;
     this._contex                 = contex;
     this._contexAddressBook      = contexAddressBook;
     this._httpContext            = httpContext;
     this._logger                 = logger;
     this._orderService           = orderService;
     this.todoPagoBusinessService = new TodoPagoBusinessService(todoPagoTransactionService, todoPagoAddressBookService);
 }
Пример #2
0
        public TodoPagoModel(TodoPagoBusinessService todoPagoBusinessService, TodoPagoPaymentSettings _todoPagoPaymentSettings, ILogger _logger)
        {
            this.todoPagoBusinessService = todoPagoBusinessService;
            this._logger = _logger;
            this._todoPagoPaymentSettings = _todoPagoPaymentSettings;

            TodoPagoConnectorPrepare();
        }
Пример #3
0
 public Refund(TodoPagoBusinessService todoPagoBusinessService, TodoPagoPaymentSettings _todoPagoPaymentSettings, ILogger _logger) : base(todoPagoBusinessService, _todoPagoPaymentSettings, _logger)
 {
 }
Пример #4
0
 public Payment(TodoPagoPaymentSettings _todoPagoPaymentSettings, ILogger _logger, IWebHelper _webHelper, TodoPagoBusinessService todoPagoBusinessService, HttpContextBase _httpContext, IOrderService _orderService) : this(_todoPagoPaymentSettings, _logger, _webHelper, todoPagoBusinessService, _httpContext)
 {
     this._orderService = _orderService;
 }
Пример #5
0
 public Payment(TodoPagoPaymentSettings _todoPagoPaymentSettings, ILogger _logger, IWebHelper _webHelper, TodoPagoBusinessService todoPagoBusinessService, HttpContextBase _httpContext) : base(todoPagoBusinessService, _todoPagoPaymentSettings, _logger)
 {
     this._webHelper   = _webHelper;
     this._httpContext = _httpContext;
 }