How can we get the Ajax Url in product bundle in checkbox.phtml file in vendor.

Hello Sir,

i am working in vendor . i just know How to get the Url of block file function for Ajax.
Please help me .