Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public TodoPagoBusinessService(ITodoPagoTransactionService todoPagoTransactionService, ITodoPagoAddressBookService todoPagoAddressBookService)
 {
     this._todoPagoTransactionService = todoPagoTransactionService;
     this._todoPagoAddressBookService = todoPagoAddressBookService;
     setState();
 }