Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Tax::get_stripe_tax_support_countries()private staticWC 1.0

Get an array of countries that support Stripe tax.

Метод класса: Tax{}

Хуков нет.

Возвращает

Массив.

Использование

$result = Tax::get_stripe_tax_support_countries();

Код Tax::get_stripe_tax_support_countries() WC 9.7.1

private static function get_stripe_tax_support_countries() {
	// https://docs.stripe.com/tax/supported-countries#supported-countries accurate as of 2024-08-26.
	// countries with remote sales not included.
	return array(
		'AU',
		'AT',
		'BE',
		'BG',
		'CA',
		'HR',
		'CY',
		'CZ',
		'DK',
		'EE',
		'FI',
		'FR',
		'DE',
		'GR',
		'HK',
		'HU',
		'IE',
		'IT',
		'JP',
		'LV',
		'LT',
		'LU',
		'MT',
		'NL',
		'NZ',
		'NO',
		'PL',
		'PT',
		'RO',
		'SG',
		'SK',
		'SI',
		'ES',
		'SE',
		'CH',
		'AE',
		'GB',
		'US',
	);
}