CatDistinctProductReference.validateCartLine Method
Performs cart line validation that is specific to the CatDistinctProductReference table.
Syntax
public CatCartLineInvalidityReason validateCartLine(CatCartLine _catCartLine, [boolean _useCheckFailed])
Run On
Called
Parameters
- _catCartLine
Type: CatCartLine Table
The CatCartLine record to validate.
- _useCheckFailed
Type: boolean
A Boolean value that indicates whether an error will cause a call to the checkFailed method.
Return Value
Type: CatCartLineInvalidityReason Enumeration
The CatCartLineInvalidityReason::IsValid enumeration value; otherwise, an explanation that the given line is not valid.