Function __global->check_country_configuration

Definitions

sources/ecommerce_tax.php

  • Check the country configuration against a tax service's supported countries.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$tax_service SHORT_TEXT No No required parameter N/A N/A The human label of the tax service calling this function
$supported_countries array No No required parameter N/A N/A Array of country codes supported by the tax service

Preview

Code (PHP)

/**
 * Check the country configuration against a tax service's supported countries.
 *
 * @param  SHORT_TEXT $tax_service The human label of the tax service calling this function
 * @param  array $supported_countries Array of country codes supported by the tax service
 */

function check_country_configuration(string $tax_service, array $supported_countries)