Table of Contents

Class AddressValidatorProvider

Namespace
Dynamicweb.Ecommerce.Orders.AddressValidation
Assembly
Dynamicweb.Ecommerce.dll
The class AddressValidatorProvider provides address validation functionality.
public class AddressValidatorProvider : ConfigurableAddIn
Inheritance
AddressValidatorProvider
Inherited Members

Properties

ValidatorId

Gets or sets the validator id.
public int ValidatorId { get; set; }

Property Value

int

Methods

SaveLog(string)

protected void SaveLog(string message)

Parameters

message string

Validate(Order)

Validates addresses for an order.
public virtual void Validate(Order order)

Parameters

order Order
The order to validate addresses

Validate(UserAddress, string)

Validates addresses for an order.
public virtual IEnumerable<AddressValidatorResult> Validate(UserAddress userAddress, string languageId)

Parameters

userAddress UserAddress
The user address to validate.
languageId string
The language ID.

Returns

IEnumerable<AddressValidatorResult>
To top