PaymentOptionValidator Class |
Namespace: CMS.Ecommerce
public class PaymentOptionValidator : IValidator
The PaymentOptionValidator type exposes the following members.
Name | Description | |
---|---|---|
![]() | PaymentOptionValidator |
Initializes a new instance of the PaymentOptionValidator 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.
|
![]() | PaymentOption |
Gets payment option this validator was initialized for.
|
Name | Description | |
---|---|---|
![]() | Validate |
Validates whether a payment option can be associated with the shopping cart.
|
![]() | ValidatePaymentOption |
Validates that payment option is:
not null,
assigned to the same site as the shopping cart or payment option is a global object,
applicable to the shopping cart.
|
Name | Description | |
---|---|---|
![]() | ContainsTValidatorError |
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.) |
![]() | FirstErrorType |
Returns Type of the first validation error in Errors.
(Defined by IValidatorExtensions.) |
![]() | GetErrorMessages |
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.) |