Share via


CatCartLine.checkOnBehalfAuthorization Method

Validates the on-behalf authorization.

Syntax

public CatCartLineInvalidityReason checkOnBehalfAuthorization(CatCart _cart, [boolean _useCheckFailed])

Run On

Called

Parameters

  • _useCheckFailed
    Type: boolean
    A Boolean value that indicates whether to raise the checkFails error; optional.

Return Value

Type: CatCartLineInvalidityReason Enumeration
The CatCartLineInvalidityReason::IsValid enumeration value, if the on behalf authorization is valid.

Remarks

The _cart parameter is specified to avoid looking it up again.

See Also

Reference

CatCartLine Table