本文整理汇总了C#中ExtendedDataCollection.GetProcessorSettings方法的典型用法代码示例。如果您正苦于以下问题:C# ExtendedDataCollection.GetProcessorSettings方法的具体用法?C# ExtendedDataCollection.GetProcessorSettings怎么用?C# ExtendedDataCollection.GetProcessorSettings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ExtendedDataCollection
的用法示例。
在下文中一共展示了ExtendedDataCollection.GetProcessorSettings方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: UPSShippingGatewayMethod
public UPSShippingGatewayMethod(IGatewayResource gatewayResource, IShipMethod shipMethod, IShipCountry shipCountry, ExtendedDataCollection providerExtendedData)
: base(gatewayResource, shipMethod, shipCountry)
{
_processor = new UpsShippingProcessor(providerExtendedData.GetProcessorSettings());
_shipMethod = shipMethod;
}
示例2: ChasePaymentGatewayMethod
/// <summary>
/// Initializes a new instance of the <see cref="ChasePaymentGatewayMethod"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The gateway provider service.
/// </param>
/// <param name="paymentMethod">
/// The payment method.
/// </param>
/// <param name="providerExtendedData">
/// The provider extended data.
/// </param>
public ChasePaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection providerExtendedData)
: base(gatewayProviderService, paymentMethod)
{
_processor = new ChasePaymentProcessor(providerExtendedData.GetProcessorSettings());
}
示例3: SagePayFormPaymentGatewayMethod
/// <summary>
/// Initializes a new instance of the <see cref="SagePayFormPaymentGatewayMethod"/> class.
/// </summary>
/// <param name="gatewayProviderService">
/// The <see cref="GatewayProviderService"/>.
/// </param>
/// <param name="paymentMethod">
/// The <see cref="IPaymentMethod"/>.
/// </param>
/// <param name="extendedData">
/// The SagePay providers <see cref="ExtendedDataCollection"/>
/// </param>
public SagePayFormPaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection extendedData)
: base(gatewayProviderService, paymentMethod, extendedData)
{
// New instance of the SagePay payment processor
_processor = new SagePayFormPaymentProcessor(extendedData.GetProcessorSettings());
}