Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / IGiftCertificateRepository Interface / LoadForStatus Method / LoadForStatus(GiftCertificateStatus,String) Method
The status filter to apply to the gift certificate results - active, inactive, or all
Sort expression to use for sorting the loaded products
In This Topic
    LoadForStatus(GiftCertificateStatus,String) Method
    In This Topic
    Loads the gift certificates according to status value active, inactive or all.
    Syntax

    Parameters

    status
    The status filter to apply to the gift certificate results - active, inactive, or all
    sortExpression
    Sort expression to use for sorting the loaded products

    Return Value

    A collection of gift certificates matching the status filter.
    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