PaymentOptionInfoProvider GetPaymentOptions Method (Int32, Boolean)Kentico 8.0 API Reference
Returns query for of all payment options matching the specified parameters.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

siteId
Type: OnlineSystem Int32
ID of the site the options should be retrieved from. If set to 0, global payment options are retrieved
onlyEnabled (Optional)
Type: OnlineSystem Boolean
True - only enabled payment options from the specified site are returned. False - all site options are returned

Return Value

Type: ObjectQuery PaymentOptionInfo 
See Also