Share via


CatProductReference.validateCartQuantity Method

Validates the cart line that is specific to the product reference type.

Syntax

public boolean validateCartQuantity(CatCartLine _catCartLine, [boolean _useCheckFailed])

Run On

Called

Parameters

  • _useCheckFailed
    Type: boolean
    A Boolean value that indicates whether to call the checkFailed method if a validation error occurs.

Return Value

Type: boolean
true if the record is validated; otherwise, false.

See Also

Reference

CatProductReference Table