Automattic\WooCommerce\Blocks\Payments\Integrations

AbstractPaymentMethodType::get_script_data()publicWC 1.0

An array of key, value pairs of data made available to the block on the client side.

Alias of get_payment_method_data. Defined by IntegrationInterface.

Method of the class: AbstractPaymentMethodType{}

No Hooks.

Return

Array.

Usage

$AbstractPaymentMethodType = new AbstractPaymentMethodType();
$AbstractPaymentMethodType->get_script_data();

AbstractPaymentMethodType::get_script_data() code WC 8.6.1

public function get_script_data() {
	return $this->get_payment_method_data();
}