Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Shipping Namespace / IShipZoneRepository Interface / LoadForAddress Method
The country code; this value is required
The ID for the province, or 0 if none
The postal code or empty string if none
In This Topic
    LoadForAddress Method (IShipZoneRepository)
    In This Topic
    Loads a collection of ShipZone objects for the given address
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    IList<ShipZone> LoadForAddress( 
       string countryCode,
       int provinceId,
       string postalCode
    )

    Parameters

    countryCode
    The country code; this value is required
    provinceId
    The ID for the province, or 0 if none
    postalCode
    The postal code or empty string if none

    Return Value

    A collection of ShipZone objects for the given address
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also