Source/NFX.Web/Shipping/ShippingSession.cs
/// <summary>
/// Validates shipping address.
/// Returns new Address instance which may contain corrected address fields ('New Yourk' -> 'New York')
/// </summary>
Validates shipping address.
Returns new Address instance which may contain corrected address fields ('New Yourk' -> 'New York')
Validates shipping address . Returns new Address instance which may contain corrected address fields ( ' New Yourk ' - > ' New York ' )
public Address ValidateAddress(IShippingContext context, Address address, out ValidateShippingAddressException error)
    {
      if (!m_ShippingSystem.Capabilities.SupportsAddressValidation)
        throw new ShippingException(StringConsts.SHIPPING_SYSTEM_UNSUPPORTED_ACTION.Args("ValidateAddress"));
      return m_ShippingSystem.ValidateAddress(this, context, address, out error);
    }
public Address ValidateAddress ( IShippingContext context , Address address , out ValidateShippingAddressException error ) { if ( ! m_ShippingSystem . Capabilities . SupportsAddressValidation ) throw new ShippingException ( StringConsts . SHIPPING_SYSTEM_UNSUPPORTED_ACTION . Args ( " " ) ) ; return m_ShippingSystem . ValidateAddress ( this , context , address , out error ) ; }
Validates shipping address.
Validates shipping address .
context
IShippingContext
address
Address
ValidateShippingAddressException
out