PaymentContext
PaymentContext class.
Description Description
Source Source
File: packages/woocommerce-blocks/src/Payments/PaymentContext.php
Methods Methods
- __get — Magic getter for protected properties.
- get_payment_method_instance — Retrieve the payment method instance for the current set payment method.
- set_order — Set the order context.
- set_payment_data — Set payment data context.
- set_payment_method — Set the chosen payment method ID context.