ShippingOptionValidator Class |
Namespace: CMS.Ecommerce
public class ShippingOptionValidator : IValidator
The ShippingOptionValidator type exposes the following members.
Name | Description | |
---|---|---|
ShippingOptionValidator |
Initializes a new instance of the ShippingOptionValidator class.
|
Name | Description | |
---|---|---|
Cart |
Gets shopping cart this validator was initialized for.
| |
Errors |
Gets an enumeration of validation errors associated with this validator. An empty enumeration is returned
if validation succeeded.
| |
IsValid |
Gets a value indicating whether validation succeeded.
| |
ShippingOptionInfo |
Gets shipping option this validator was initialized for.
|
Name | Description | |
---|---|---|
Validate |
Validates whether a shipping option can be associated with the shopping cart.
| |
ValidateShippingOption |
Name | Description | |
---|---|---|
ContainsTValidatorError |
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.) | |
FirstErrorType | (Defined by IValidatorExtensions.) | |
GetErrorMessages |
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.) |