Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders

Visa::is_in_dev_modepublicWC 1.0

Try to determine if the payment gateway is in dev mode.

Method of the class: Visa{}

No Hooks.

Returns

true|false. True if the payment gateway is in dev mode, false otherwise.

Usage

$Visa = new Visa();
$Visa->is_in_dev_mode( $payment_gateway ): bool;
$payment_gateway(WC_Payment_Gateway) (required)
The payment gateway object.

Visa::is_in_dev_mode() code WC 10.7.0

public function is_in_dev_mode( WC_Payment_Gateway $payment_gateway ): bool {
	return $this->is_visa_in_sandbox_mode( $payment_gateway ) ?? parent::is_in_dev_mode( $payment_gateway );
}