BoxRegisterInterceptionPoints

You can use this BIF to register custom interception points into either the "global" or the "request" interceptor pools.

Example:

 boxRegisterInterceptionPoints( "onOrderComplete" )
 boxRegisterInterceptionPoints( [ "onOrderComplete", "preOrder" ] )
 

Method Signature

BoxRegisterInterceptionPoints(states=[any], poolname=[string])

Arguments

Argument
Type
Required
Description
Default

states

any

false

The states to register the interception points for.

[]

poolname

string

false

The name of the interceptor pool to register the event to. Default is "global". Available pools are "global" and "request".

global

Examples

Last updated

Was this helpful?