PaymentContext::get_payment_method_instance()
Retrieve the payment method instance for the current set payment method.
Description Description
Return Return
(AutomatticWooCommerceBlocksPayments{WC_Payment_Gateway|AutomatticWooCommerceBlocksPaymentsnull}) An instance of the payment gateway if it exists.
Source Source
File: packages/woocommerce-blocks/src/Payments/PaymentContext.php