Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / VolumeDiscountProvider Class / IsValidForUser Method
user to check validation for
volumeDiscount for which validation is being performed
In This Topic
    IsValidForUser Method (VolumeDiscountProvider)
    In This Topic
    Is this volume discount valid for given user?
    Syntax
    public virtual bool IsValidForUser( 
       User user,
       VolumeDiscount volumeDiscount
    )

    Parameters

    user
    user to check validation for
    volumeDiscount
    volumeDiscount for which validation is being performed

    Return Value

    true if this volume discount is valid for given user, false otherwise
    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