Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderRepository Class / GetCouponCodes Method / GetCouponCodes(DateTime,DateTime) Method
The starting date for orders to be checked for coupons
The ending date for orders to be checked for coupons
In This Topic
    GetCouponCodes(DateTime,DateTime) Method
    In This Topic
    Gets coupons codes used for orders
    Syntax
    public string[] GetCouponCodes( 
       DateTime startDate,
       DateTime endDate
    )

    Parameters

    startDate
    The starting date for orders to be checked for coupons
    endDate
    The ending date for orders to be checked for coupons

    Return Value

    An array of string with the codes of coupons used
    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