本文整理汇总了C#中Nop.Core.Domain.Payments.PaymentSettings类的典型用法代码示例。如果您正苦于以下问题:C# PaymentSettings类的具体用法?C# PaymentSettings怎么用?C# PaymentSettings使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PaymentSettings类属于Nop.Core.Domain.Payments命名空间,在下文中一共展示了PaymentSettings类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PluginController
public PluginController(IPluginFinder pluginFinder,
IOfficialFeedManager officialFeedManager,
ILocalizationService localizationService,
IWebHelper webHelper,
IPermissionService permissionService,
ILanguageService languageService,
ISettingService settingService,
IStoreService storeService,
PaymentSettings paymentSettings,
ShippingSettings shippingSettings,
TaxSettings taxSettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
WidgetSettings widgetSettings)
{
this._pluginFinder = pluginFinder;
this._officialFeedManager = officialFeedManager;
this._localizationService = localizationService;
this._webHelper = webHelper;
this._permissionService = permissionService;
this._languageService = languageService;
this._settingService = settingService;
this._storeService = storeService;
this._paymentSettings = paymentSettings;
this._shippingSettings = shippingSettings;
this._taxSettings = taxSettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._widgetSettings = widgetSettings;
}
示例2: PaymentSagePayServerController
public PaymentSagePayServerController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger, SagePayServerPaymentSettings sagePayServerPaymentSettings,
PaymentSettings paymentSettings, ILocalizationService localizationService,
IWorkContext workContext, ISagePayServerTransactionService sagePayServerTransactionService,
IOrderTotalCalculationService orderTotalCalculationService, ICurrencyService currencyService, CurrencySettings currencySettings,
IMobileDeviceHelper mobileDeviceHelper, OrderSettings orderSettings, HttpContextBase httpContext)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._localizationService = localizationService;
this._sagePayServerTransactionService = sagePayServerTransactionService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._currencyService = currencyService;
this._sagePayServerPaymentSettings = sagePayServerPaymentSettings;
this._paymentSettings = paymentSettings;
this._currencySettings = currencySettings;
this._orderSettings = orderSettings;
this._logger = logger;
this._workContext = workContext;
this._httpContext = httpContext;
this._mobileDeviceHelper = mobileDeviceHelper;
}
示例3: PaymentPayPalStandardController
public PaymentPayPalStandardController(IWorkContext workContext,
IStoreService storeService,
ISettingService settingService,
IPaymentService paymentService,
IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILocalizationService localizationService,
IStoreContext storeContext,
ILogger logger,
IWebHelper webHelper,
PaymentSettings paymentSettings,
PayPalStandardPaymentSettings payPalStandardPaymentSettings)
{
this._workContext = workContext;
this._storeService = storeService;
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._localizationService = localizationService;
this._storeContext = storeContext;
this._logger = logger;
this._webHelper = webHelper;
this._paymentSettings = paymentSettings;
this._payPalStandardPaymentSettings = payPalStandardPaymentSettings;
}
示例4: CheckoutController
public CheckoutController(IWorkContext workContext,
IShoppingCartService shoppingCartService, ILocalizationService localizationService,
ITaxService taxService, ICurrencyService currencyService,
IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
ICustomerService customerService, ICountryService countryService,
IStateProvinceService stateProvinceService, IShippingService shippingService,
IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
ILogger logger, IOrderService orderService, IWebHelper webHelper,
OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
PaymentSettings paymentSettings)
{
this._workContext = workContext;
this._shoppingCartService = shoppingCartService;
this._localizationService = localizationService;
this._taxService = taxService;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._customerService = customerService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._logger = logger;
this._orderService = orderService;
this._webHelper = webHelper;
this._orderSettings = orderSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._paymentSettings = paymentSettings;
}
示例5: PaymentService
/// <summary>
/// Ctor
/// </summary>
/// <param name="paymentSettings">Payment settings</param>
/// <param name="pluginFinder">Plugin finder</param>
/// <param name="shoppingCartSettings">Shopping cart settings</param>
public PaymentService(PaymentSettings paymentSettings, IPluginFinder pluginFinder,
ShoppingCartSettings shoppingCartSettings)
{
this._paymentSettings = paymentSettings;
this._pluginFinder = pluginFinder;
this._shoppingCartSettings = shoppingCartSettings;
}
示例6: PaymentController
public PaymentController(IPaymentService paymentService, PaymentSettings paymentSettings,
ISettingService settingService, IPermissionService permissionService)
{
this._paymentService = paymentService;
this._paymentSettings = paymentSettings;
this._settingService = settingService;
this._permissionService = permissionService;
}
示例7: PaymentController
public PaymentController(IPaymentService paymentService, PaymentSettings paymentSettings,
ISettingService settingService, IPermissionService permissionService,
IPluginFinder pluginFinder)
{
this._paymentService = paymentService;
this._paymentSettings = paymentSettings;
this._settingService = settingService;
this._permissionService = permissionService;
this._pluginFinder = pluginFinder;
}
示例8: SetUp
public new void SetUp()
{
_paymentSettings = new PaymentSettings();
_paymentSettings.ActivePaymentMethodSystemNames = new List<string>();
_paymentSettings.ActivePaymentMethodSystemNames.Add("Payments.TestMethod");
var pluginFinder = new PluginFinder(new AppDomainTypeFinder());
_shoppingCartSettings = new ShoppingCartSettings();
_paymentService = new PaymentService(_paymentSettings, pluginFinder, _shoppingCartSettings);
}
示例9: SetUp
public new void SetUp()
{
_paymentSettings = new PaymentSettings();
_paymentSettings.ActivePaymentMethodSystemNames = new List<string>();
_paymentSettings.ActivePaymentMethodSystemNames.Add("Payments.TestMethod");
var pluginFinder = new PluginFinder();
_shoppingCartSettings = new ShoppingCartSettings();
_settingService = MockRepository.GenerateMock<ISettingService>();
_paymentService = new PaymentService(_paymentSettings, pluginFinder, _settingService, _shoppingCartSettings);
}
示例10: PaymentPaytmController
public PaymentPaytmController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
PaytmPaymentSettings PaytmPaymentSettings,
PaymentSettings paymentSettings)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._PaytmPaymentSettings = PaytmPaymentSettings;
this._paymentSettings = paymentSettings;
}
示例11: PaymentPayPalDirectController
public PaymentPayPalDirectController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger, PayPalDirectPaymentSettings paypalDirectPaymentSettings,
PaymentSettings paymentSettings, ILocalizationService localizationService)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._logger = logger;
this._paypalDirectPaymentSettings = paypalDirectPaymentSettings;
this._paymentSettings = paymentSettings;
this._localizationService = localizationService;
}
示例12: PaymentAliPayController
public PaymentAliPayController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger, IWebHelper webHelper,
AliPayPaymentSettings aliPayPaymentSettings,
PaymentSettings paymentSettings)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._logger = logger;
this._webHelper = webHelper;
this._aliPayPaymentSettings = aliPayPaymentSettings;
this._paymentSettings = paymentSettings;
}
示例13: PaymentPayPalStandardController
public PaymentPayPalStandardController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILogger logger, IWebHelper webHelper,
PayPalStandardPaymentSettings paypalStandardPaymentSettings,
PaymentSettings paymentSettings)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._logger = logger;
this._webHelper = webHelper;
this._paypalStandardPaymentSettings = paypalStandardPaymentSettings;
this._paymentSettings = paymentSettings;
}
示例14: PaymentGoogleCheckoutController
public PaymentGoogleCheckoutController(ISettingService settingService,
IPaymentService paymentService, IOrderProcessingService orderProcessingService,
IWebHelper webHelper, OrderSettings orderSettings, IWorkContext workContext,
CurrencySettings currencySettings, ICurrencyService currencyService,
PaymentSettings paymentSettings)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderProcessingService = orderProcessingService;
this._webHelper = webHelper;
this._orderSettings = orderSettings;
this._workContext = workContext;
this._currencySettings = currencySettings;
this._currencyService = currencyService;
this._paymentSettings = paymentSettings;
}
示例15: PaymentEmiController
public PaymentEmiController(ISettingService settingService,
IPaymentService paymentService, IOrderService orderService,
IOrderProcessingService orderProcessingService,
ILocalizationService localizationService,
EmiPaymentSettings EmiPaymentSettings,
PaymentSettings paymentSettings)
{
this._settingService = settingService;
this._paymentService = paymentService;
this._orderService = orderService;
this._orderProcessingService = orderProcessingService;
this._EmiPaymentSettings = EmiPaymentSettings;
this._localizationService = localizationService;
this._paymentSettings = paymentSettings;
}