public YuansferPaymentController(ICustomerService customerService,
                                  ILocalizationService localizationService,
                                  INotificationService notificationService,
                                  IPermissionService permissionService,
                                  ISettingService settingService,
                                  IStoreContext storeContext,
                                  IWorkContext workContext,
                                  ShoppingCartSettings shoppingCartSettings,
                                  YuansferApi yuansferApi)
 {
     _customerService      = customerService;
     _localizationService  = localizationService;
     _notificationService  = notificationService;
     _permissionService    = permissionService;
     _settingService       = settingService;
     _storeContext         = storeContext;
     _workContext          = workContext;
     _shoppingCartSettings = shoppingCartSettings;
     _yuansferApi          = yuansferApi;
 }
 public YuansferPaymentProcessor(CurrencySettings currencySettings,
                                 IActionContextAccessor actionContextAccessor,
                                 ICurrencyService currencyService,
                                 ILocalizationService localizationService,
                                 INotificationService notificationService,
                                 IOrderService orderService,
                                 IOrderTotalCalculationService orderTotalCalculationService,
                                 IPaymentService paymentService,
                                 IProductAttributeFormatter productAttributeFormatter,
                                 IProductService productService,
                                 ISettingService settingService,
                                 IUrlHelperFactory urlHelperFactory,
                                 IWebHelper webHelper,
                                 IWorkContext workContext,
                                 YuansferApi yuansferApi,
                                 YuansferService yuansferService,
                                 YuansferPaymentSettings yuansferPaymentSettings
                                 )
 {
     _currencySettings             = currencySettings;
     _actionContextAccessor        = actionContextAccessor;
     _currencyService              = currencyService;
     _localizationService          = localizationService;
     _notificationService          = notificationService;
     _orderService                 = orderService;
     _orderTotalCalculationService = orderTotalCalculationService;
     _paymentService               = paymentService;
     _productAttributeFormatter    = productAttributeFormatter;
     _productService               = productService;
     _settingService               = settingService;
     _urlHelperFactory             = urlHelperFactory;
     _webHelper               = webHelper;
     _workContext             = workContext;
     _yuansferApi             = yuansferApi;
     _yuansferService         = yuansferService;
     _yuansferPaymentSettings = yuansferPaymentSettings;
 }