tax engine

This commit is contained in:
Etienne Roudeix
2013-09-11 16:21:51 +02:00
parent 551c132b76
commit e8a4e56324
17 changed files with 561 additions and 107 deletions

View File

@@ -27,6 +27,9 @@ class TaxEngineException extends \RuntimeException
{
const UNKNOWN_EXCEPTION = 0;
const BAD_RECORDED_TYPE = 101;
const BAD_RECORDED_REQUIREMENTS = 102;
const UNDEFINED_PRODUCT = 501;
const UNDEFINED_COUNTRY = 502;
const UNDEFINED_TAX_RULES_COLLECTION = 503;