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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual void ValidateShippingOption(
ShippingOptionInfo shippingOptionInfo
)
Parameters
- shippingOptionInfo
- Type: CMS.EcommerceShippingOptionInfo
Shipping option.
Exceptions Exception | Condition |
---|
InvalidOperationException | Thrown when validation fails. |
See Also