File: /home/confeduphaar/backip-old-files/plugins/vmcalculation/avalara/classes/BoundaryLevel.class.php
<?php
/**
* 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__); }
}
?>