Click or drag to resize
CreateOrderValidatorValidate Method
Validates shopping cart before creating order. Validation includes: all required properties must be set, cart must contain at least one item, user must not be disabled, shipping and payment options, cart addresses.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public bool Validate()

Return Value

Type: Boolean
Returns true if validation passes, otherwise returns false.

Implements

IValidatorValidate
See Also