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

    Parameters

    order
    the order instance
    parentItem
    the order 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