CartAddressesValidator Class |
Namespace: CMS.Ecommerce
public class CartAddressesValidator : IValidator
The CartAddressesValidator type exposes the following members.
Name | Description | |
---|---|---|
CartAddressesValidator |
Initializes a new instance of the CartAddressesValidator class for given cart.
|
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.
|
Name | Description | |
---|---|---|
Validate |
Validates cart addresses.
| |
ValidateAddresses |
Validates shipping and billing addresses.
|
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.) |