Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes.Providers Namespace / TaxProviderBase Class / GetDiscountedPrice Method / GetDiscountedPrice(Basket,BasketItem) Method
the basket instance
the basket item for which we need to calculate the price
In This Topic
    GetDiscountedPrice(Basket,BasketItem) Method
    In This Topic
    Calculate the discounted price for a basket item
    Syntax
    protected decimal GetDiscountedPrice( 
       Basket basket,
       BasketItem parentItem
    )

    Parameters

    basket
    the basket instance
    parentItem
    the basket item for which we need to calculate the price

    Return Value

    calculate discounted price
    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