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: 13.0.131
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