ShippingOptionInfoProviderGetShippingOptionsInternal Method |
Returns dataset of all shipping options matching the specified parameters.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual ObjectQuery<ShippingOptionInfo> GetShippingOptionsInternal(
int siteId,
bool onlyEnabled
)
Parameters
- siteId
- Type: SystemInt32
ID of the site the options should be retrieved from. If set to 0, global shipping options are retrieved - onlyEnabled
- Type: SystemBoolean
True - only enabled shipping options from the specified site are returned. False - all site options are returned
Return Value
Type:
ObjectQueryShippingOptionInfoSee Also