How is Magento\Vault\Observer\AfterPaymentSaveObserver::execute() implemented and used?

Context: How does the Braintree module saves the current bank card for a later use?

The single usage

It is a handler of the sales_order_payment_save_after event:

Implementation










Details: How is Magento\Vault\Model\PaymentTokenManagement::saveTokenWithPaymentLink() implemented and used?

See also: