Click or drag to resize
PaymentOptionValidator Methods

The PaymentOptionValidator type exposes the following members.

Methods
  NameDescription
Public methodValidate
Validates whether a payment option can be associated with the shopping cart.
Protected methodValidatePaymentOption
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.
Top
Extension Methods
  NameDescription
Public Extension MethodContainsTValidatorError
Returns a value indicating whether a validation error of type TValidatorError is in Errors.
(Defined by IValidatorExtensions.)
Public Extension MethodFirstErrorType
Returns Type of the first validation error in Errors.
(Defined by IValidatorExtensions.)
Public Extension MethodGetErrorMessages
Returns collection of localized error messages that occurred during validation.
(Defined by IValidatorExtensions.)
Top
See Also