Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Payments Namespace / IGiftCertificateRepository Interface / Search Method
Serial Number to load the GiftCertificate object for
The first name to match, by default a begins with match or use * wildcard to alter behavior.
The last name to match, by default a begins with match or use * wildcard to alter behavior.
The email name to match, by default a begins with match or use * wildcard to alter behavior.
Specifies to match gift certificates that expire on or after this date. Pass DateTime.MinValue for no start date.
Specifies to match gift certificates that expire on or before this date. Pass DateTime.MaxValue for no end date.
Order number or range of orders to show.
The status filter to apply to the gift certificate results - active, inactive, or all
The sort expression to use for sorting the loaded objects.
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
In This Topic
    Search Method (IGiftCertificateRepository)
    In This Topic
    Search a collection of GiftCertificate objects matching the given search criteria
    Syntax

    Parameters

    serialNumber
    Serial Number to load the GiftCertificate object for
    firstName
    The first name to match, by default a begins with match or use * wildcard to alter behavior.
    lastName
    The last name to match, by default a begins with match or use * wildcard to alter behavior.
    email
    The email name to match, by default a begins with match or use * wildcard to alter behavior.
    expirationStart
    Specifies to match gift certificates that expire on or after this date. Pass DateTime.MinValue for no start date.
    expirationEnd
    Specifies to match gift certificates that expire on or before this date. Pass DateTime.MaxValue for no end date.
    orderRange
    Order number or range of orders to show.
    status
    The status filter to apply to the gift certificate results - active, inactive, or all
    sortExpression
    The sort expression to use for sorting the loaded objects.
    maximumRows
    Maximum number of rows to retrieve.
    startRowIndex
    Starting index from where to start retrieving.

    Return Value

    A collection of GiftCertificate objects
    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