本文整理汇总了C#中IGatewayProviderService类的典型用法代码示例。如果您正苦于以下问题:C# IGatewayProviderService类的具体用法?C# IGatewayProviderService怎么用?C# IGatewayProviderService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IGatewayProviderService类属于命名空间,在下文中一共展示了IGatewayProviderService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FedExShippingGatewayProvider
public FedExShippingGatewayProvider(IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProvider, IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProvider, runtimeCacheProvider)
{
_settings = new FedExProcessorSettings();
_runtimeCache = runtimeCacheProvider;
}
示例2: FixedRateTaxationGatewayProvider
/// <summary>
/// Initializes a new instance of the <see cref="FixedRateTaxationGatewayProvider"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
public FixedRateTaxationGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
示例3: SmtpNotificationGatewayMethod
public SmtpNotificationGatewayMethod(IGatewayProviderService gatewayProviderService, INotificationMethod notificationMethod, ExtendedDataCollection extendedData)
: base(gatewayProviderService, notificationMethod)
{
Mandate.ParameterNotNull(extendedData, "extendedData");
_settings = extendedData.GetSmtpProviderSettings();
}
示例4: TaxationGatewayProviderBase
/// <summary>
/// Initializes a new instance of the <see cref="TaxationGatewayProviderBase"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
protected TaxationGatewayProviderBase(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
示例5: BraintreePaymentGatewayMethodBase
/// <summary>
/// Initializes a new instance of the <see cref="BraintreePaymentGatewayMethodBase"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="paymentMethod">
/// The payment method.
/// </param>
/// <param name="braintreeApiService">
/// The braintree api service.
/// </param>
protected BraintreePaymentGatewayMethodBase(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, IBraintreeApiService braintreeApiService)
: base(gatewayProviderService, paymentMethod)
{
Mandate.ParameterNotNull(braintreeApiService, "braintreeApiService");
_braintreeApiService = braintreeApiService;
}
开发者ID:cmgrey83,项目名称:Merchello.Plugin.Payment.Braintree,代码行数:19,代码来源:BraintreePaymentGatewayMethodBase.cs
示例6: CashPaymentGatewayProvider
/// <summary>
/// Initializes a new instance of the <see cref="CashPaymentGatewayProvider"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="gatewayProviderSettings">
/// The gateway provider settings.
/// </param>
/// <param name="runtimeCacheProvider">
/// The runtime cache provider.
/// </param>
public CashPaymentGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
示例7: BraintreeSubscriptionRecordPaymentMethod
/// <summary>
/// Initializes a new instance of the <see cref="BraintreeSubscriptionRecordPaymentMethod"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="paymentMethod">
/// The payment method.
/// </param>
/// <param name="braintreeApiService">The <see cref="IBraintreeApiService"/></param>
public BraintreeSubscriptionRecordPaymentMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, IBraintreeApiService braintreeApiService)
: base(gatewayProviderService, paymentMethod)
{
Mandate.ParameterNotNull(braintreeApiService, "braintreeApiService");
_braintreeApiService = braintreeApiService;
}
开发者ID:cmgrey83,项目名称:Merchello.Plugin.Payment.Braintree,代码行数:17,代码来源:BraintreeSubscriptionRecordPaymentMethod.cs
示例8: GatewayProviderServiceOnSaved
private void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("5F2E88D1-6D07-4809-B9AB-D4D6036473E9");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveSmtpProviderSettings(new SmtpNotificationGatewayProviderSettings());
}
示例9: NotificationGatewayMethodBase
protected NotificationGatewayMethodBase(IGatewayProviderService gatewayProviderService, INotificationMethod notificationMethod)
{
Mandate.ParameterNotNull(gatewayProviderService, "gatewayProviderService");
Mandate.ParameterNotNull(notificationMethod, "notificationMethod");
_notificationMethod = notificationMethod;
_gatewayProviderService = gatewayProviderService;
}
示例10: GatewayProviderServiceOnSaved
private void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid(Constants.GatewayProviderSettingsKey);
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
MappingExtensions.SaveProcessorSettings(provider.ExtendedData, new SagePayProcessorSettings());
}
示例11: PaymentGatewayMethodBase
protected PaymentGatewayMethodBase(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod)
{
Mandate.ParameterNotNull(gatewayProviderService, "gatewayProviderService");
Mandate.ParameterNotNull(paymentMethod, "paymentMethod");
_gatewayProviderService = gatewayProviderService;
_paymentMethod = paymentMethod;
}
示例12: SmtpNotificationGatewayProvider
public SmtpNotificationGatewayProvider(
IGatewayProviderService gatewayProviderService,
IGatewayProviderSettings gatewayProviderSettings,
IRuntimeCacheProvider runtimeCacheProvider)
: base(gatewayProviderService, gatewayProviderSettings, runtimeCacheProvider)
{
}
示例13: GatewayProviderServiceOnSaved
private static void GatewayProviderServiceOnSaved(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("C6BF6743-3565-401F-911A-33B68CACB11B");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new AuthorizeNetProcessorSettings());
}
示例14: GatewayProviderServiceOnSaving
private static void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> args)
{
var key = new Guid("15C87B6F-7987-49D9-8444-A2B4406941A8");
var provider = args.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProcessorSettings(new StripeProcessorSettings());
}
示例15: GatewayProviderServiceOnSaving
/// <summary>
/// The gateway provider service on saving.
/// </summary>
/// <param name="sender">
/// The sender.
/// </param>
/// <param name="saveEventArgs">
/// The save event args.
/// </param>
private void GatewayProviderServiceOnSaving(IGatewayProviderService sender, SaveEventArgs<IGatewayProviderSettings> saveEventArgs)
{
var key = new Guid("D143E0F6-98BB-4E0A-8B8C-CE9AD91B0969");
var provider = saveEventArgs.SavedEntities.FirstOrDefault(x => key == x.Key && !x.HasIdentity);
if (provider == null) return;
provider.ExtendedData.SaveProviderSettings(new BraintreeProviderSettings());
}