Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / IGiftCertificateRepository Interface / CountForStatus Method
The status filter to apply to the gift certificate count - active, inactive, or all.
In This Topic
    CountForStatus Method (IGiftCertificateRepository)
    In This Topic
    Counts the gift certificates according to status value.
    Syntax
    int CountForStatus( 
       GiftCertificateStatus status
    )

    Parameters

    status
    The status filter to apply to the gift certificate count - active, inactive, or all.

    Return Value

    The number 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