How is \Magento\Paypal\Helper\Checkout::cancelCurrentOrder() implemented and used?

Implementation

Details:

Usages

1. \Magento\Paypal\Controller\Payflow::_cancelPayment()

2. \Magento\Paypal\Controller\Hostedpro\Cancel::execute()