Click or drag to resize
CMSPaymentGatewayProviderGetPaymentGatewayProviderTProvider Method
Returns payment gateway provider instance of given generic type.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static TProvider GetPaymentGatewayProvider<TProvider>(
	int paymentOptionId
)
where TProvider : IPaymentGatewayProvider

Parameters

paymentOptionId
Type: SystemInt32
Payment option ID

Type Parameters

TProvider

Return Value

Type: TProvider
See Also