HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/plugins/vmcalculation/avalara/classes/DetailLevel.class.php
<?php
/**
 * DetailLevel.class.php
 */
 
/**
 * Specifies the level of tax detail to return to the client application following a tax calculation.
 * @see GetTaxRequest, GetTaxHistoryRequest
 *
 * @author    Avalara
 * @copyright � 2004 - 2011 Avalara, Inc.  All rights reserved.
 * @package   Tax
 */


class DetailLevel extends Enum
{
   /**
     * Reserved for future use.
     */
	public static $Summary		= 'Summary';
	
	/**
     *  Document ({@link GetTaxResult}) level details; {@link ArrayOfTaxLine} will not be returned.
     */
    public static $Document		= 'Document';
	
	/**
     *  Line level details (includes Document details). {@link ArrayOfTaxLine} will
     * be returned but {@link ArrayOfTaxDetail} will not be returned.
     */     
    public static $Line			= 'Line';
	
	/**
     *  Tax jurisdiction level details (includes Document, {@link ArrayOfTaxLine},
     * and {@link ArrayOfTaxDetail})
     */
    public static $Tax			= 'Tax';
    public static $Diagnostic	= 'Diagnostic';

    
	public static function Values()
	{
		return array(
			DetailLevel::$Summary,
			DetailLevel::$Document,
			DetailLevel::$Line,
			DetailLevel::$Tax,
			DetailLevel::$Diagnostic
		);
	}
	
    // Unfortunate boiler plate due to polymorphism issues on static functions
    public static function Validate($value) { self::__Validate($value,self::Values(),__CLASS__); }
}

?>