ShippingAndPaymentValidator Class |
Namespace: CMS.Ecommerce
public class ShippingAndPaymentValidator : IValidator
The ShippingAndPaymentValidator type exposes the following members.
Name | Description | |
---|---|---|
ShippingAndPaymentValidator |
Initializes a new instance of the ShippingAndPaymentValidator 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 shipping and payment options associated with shopping cart.
| |
ValidatePaymentAndShipping |
Validates shipping and payment options associated with shopping cart.
| |
ValidatePaymentOption |
Validates payment option associated with shopping cart.
| |
ValidateShippingOption |
Validates shipping option associated with shopping cart.
|
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.) |