Click or drag to resize
ShippingOptionInfoProviderGetShippingOptionInfo Method (String, String)

Note: This API is now obsolete.

Returns shipping option with specified name.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IShippingOptionInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ShippingOptionInfo.Provider.")]
public static ShippingOptionInfo GetShippingOptionInfo(
	string optionName,
	string siteName
)

Parameters

optionName
Type: SystemString
Shipping option name
siteName
Type: SystemString
Site name

Return Value

Type: ShippingOptionInfo
See Also