Automattic\WooCommerce\Gateways\PayPal
TransactAccountManager::__construct
Constructor.
Method of the class: TransactAccountManager{}
No Hooks.
Returns
null. Nothing (null).
Usage
$TransactAccountManager = new TransactAccountManager(); $TransactAccountManager->__construct( $gateway );
- $gateway(WC_Gateway_Paypal) (required)
- Paypal gateway object.
TransactAccountManager::__construct() TransactAccountManager:: construct code WC 11.0.1
public function __construct( \WC_Gateway_Paypal $gateway ) {
$this->gateway = $gateway;
}