PaymentOptionInfoProviderIsPaymentOptionApplicableInternal Method |
Checks if payment option is applicable for given shopping cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntaxprotected virtual bool IsPaymentOptionApplicableInternal(
ShoppingCartInfo cart,
PaymentOptionInfo paymentOption
)
Parameters
- cart
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart in which payment option should be used. - paymentOption
- Type: CMS.EcommercePaymentOptionInfo
Payment option to check if it is applicable.
Return Value
Type:
BooleanTrue if payment option exists and is enabled.
See Also