Share via


CatProductReference.validateCartLine Method

Performs a cart line validation that is specific to the product reference type.

Syntax

public CatCartLineInvalidityReason validateCartLine(CatCartLine _catCartLine, [boolean _useCheckFailed])

Run On

Called

Parameters

  • _useCheckFailed
    Type: boolean
    A Boolean value that indicates whether any validation error will result in a call to the checkFailed method.

Return Value

Type: CatCartLineInvalidityReason Enumeration
CatCartLineInvalidityReason::IsValid if the line is valid; otherwise, the reason that the given line is not valid.

See Also

Reference

CatProductReference Table