Click or drag to resize
ShoppingServiceValidateShippingOption Method
Validates whether a shipping option is assigned to the same site as the current shopping cart or the shipping option is a global object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual void ValidateShippingOption(
	ShippingOptionInfo shippingOptionInfo
)

Parameters

shippingOptionInfo
Type: CMS.EcommerceShippingOptionInfo
Shipping option.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when validation fails.
See Also