$tax_rates = CRM_Core_PseudoConstant::getTaxRates(); print_r($tax_rates);
$country_code = 'US'; $tax_rates = CRM_Core_PseudoConstant::getTaxRates($country_code); print_r($tax_rates);
$state_code = 'CA'; $tax_rates = CRM_Core_PseudoConstant::getTaxRates(null, $state_code); print_r($tax_rates);This code will return an array of tax rates for the specified state code ('CA' in this example). Overall, the CRM_Core_PseudoConstant package library provides functions for retrieving and managing a variety of pseudo-constant entities within a CRM system. The getTaxRates method specifically focuses on managing tax rates in the system.