本文整理匯總了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;
}