Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / IGiftCertificateRepository Interface / LoadForStatus Method / LoadForStatus(GiftCertificateStatus,Int32,Int32,String) Method
The status filter to apply to the gift certificate results - active, inactive, or all
Maximum number of rows to retrieve
Starting index from where to start retrieving
Sort expression to use for sorting the loaded products
In This Topic
    LoadForStatus(GiftCertificateStatus,Int32,Int32,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
    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Starting index from where to start retrieving
    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