Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Marketing Namespace / IVolumeDiscountRepository Interface / GetAvailableDiscounts Method
ID of the product to test
In This Topic
    GetAvailableDiscounts Method (IVolumeDiscountRepository)
    In This Topic
    Returns a collection of discounts available for a product for the current user.
    Syntax
    IList<VolumeDiscount> GetAvailableDiscounts( 
       int productId
    )

    Parameters

    productId
    ID of the product to test

    Return Value

    A collection of discounts available for a product for the current user.
    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