PaymentOptionInfoProviderGetPaymentOptionsInternal Method |
Note: This API is now obsolete.
Returns query for all payment options matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax [ObsoleteAttribute("Use PaymentOptionInfoProviderExtensions.GetBySite(IPaymentOptionInfoProvider, int, bool) instead.")]
protected virtual ObjectQuery<PaymentOptionInfo> GetPaymentOptionsInternal(
int siteId,
bool onlyEnabled
)
Parameters
- siteId
- Type: SystemInt32
ID of the site the options should be retrieved from. If set to 0, global payment options are retrieved - onlyEnabled
- Type: SystemBoolean
True - only enabled payment options from the specified site are returned. False - all site options are returned
Return Value
Type:
ObjectQueryPaymentOptionInfoSee Also