Get a rates code. Code is made up of COUNTRY-STATE-NAME-Priority. E.g GB-VAT-1, US-AL-TAX-1.
public static get_rate_code ( mixed $key_or_rate ) : string | ||
$key_or_rate | mixed | Tax rate ID, or the db row itself in object format |
return | string |