All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.avalara.avatax.rest.client.enums.CompanyFilingStatus Maven / Gradle / Ivy

package net.avalara.avatax.rest.client.enums;
import java.util.HashMap;

/*
 * AvaTax Software Development Kit for Java JRE based environments
 *
 * (c) 2004-2018 Avalara, Inc.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @author     Dustin Welden 
 * @copyright  2004-2018 Avalara, Inc.
 * @license    https://www.apache.org/licenses/LICENSE-2.0
 * @link       https://github.com/avadev/AvaTax-REST-V2-JRE-SDK
 * Swagger name: AvaTaxClient
 */

/**
 * Indicates whether Avalara Managed Returns has begun filing for this company.
 */
public enum CompanyFilingStatus {
    /** 
     * This company has not been configured for compliance
     */
    NotConfiguredForCompliance(0),

    /** 
     * This company is a reporting entity, but Avalara is not currently filing tax returns for this company.
     */
    NotYetFiling(1),

    /** 
     * The customer has requested that Avalara Managed Returns begin filing for this company, however filing has
     *  not yet started. Avalara's compliance team is reviewing this request and will update the company to
     *  first filing status when complete.
     */
    FilingRequested(2),

    /** 
     * Avalara has begun filing tax returns for this company. Normally, this status will change to `Active` after
     *  one month of successful filing of tax returns.
     */
    FirstFiling(3),

    /** 
     * Avalara currently files tax returns for this company.
     */
    Active(4),

    /** 
     * This company is not a reporting entity and cannot file taxes. To change this behavior, you must mark
     *  the company as a reporting entity.
     */
    NoReporting(5),

    /** 
     * This company is inactive
     */
    Inactive(6);

    private int value;
	private static HashMap map = new HashMap<>();
	
	private CompanyFilingStatus(int value) {
		this.value = value;
	}
	
	static {
		for (CompanyFilingStatus enumName : CompanyFilingStatus.values()) {
			map.put(enumName.value, enumName);
		}
	}
	
	public static CompanyFilingStatus valueOf(int intValue) {
		return (CompanyFilingStatus) map.get(intValue);
	}
	
	public int getValue() {
		return value;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy