0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: BoundaryLevel.class.php.tar
home/academiac/www/plugins/vmcalculation/avalara/classes/BoundaryLevel.class.php 0000604 00000002264 15137312502 0024164 0 ustar 00 <?php if (!defined('_JEXEC')) die('Direct Access to ' . basename(__FILE__) . ' is not allowed.'); /** * BoundaryLevel.class.php */ /** * Jurisdiction boundary precision level found for address; * This depends on the accuracy of the address as well as the * precision level of the state provided jurisdiction boundaries. * @see TaxLine * * @author Avalara * @copyright � 2004 - 2011 Avalara, Inc. All rights reserved. * @package Tax */ class BoundaryLevel extends Enum { /** * Street address precision * * @var unknown_type */ public static $Address = 'Address'; //enum /** *5-digit zip precision * * @var unknown_type */ public static $Zip9 = 'Zip9'; //enum /** *9-digit zip precision * * @var unknown_type */ public static $Zip5 = 'Zip5'; //enum public static function Values() { return array( BoundaryLevel::$Address, BoundaryLevel::$Zip9, BoundaryLevel::$Zip5 ); } // Unfortunate boiler plate due to polymorphism issues on static functions public static function Validate($value) { self::__Validate($value,self::Values(),__CLASS__); } } ?>