com.avalara.avatax.services.tax
Class TaxType

java.lang.Object
  extended by com.avalara.avatax.services.tax.TaxType
All Implemented Interfaces:
java.io.Serializable

public class TaxType
extends java.lang.Object
implements java.io.Serializable

A Tax Type. See TaxDetail.

See Also:
Serialized Form

Field Summary
static java.lang.String _Fee
          Fee
static java.lang.String _Input
          Input Tax.
static java.lang.String _Nonrecoverable
          Nonrecoverable Tax.
static java.lang.String _Output
          Output Tax.
static java.lang.String _Rental
          Rental
static TaxType ConsumerUse
          Consumer Use Tax.
static TaxType Fee
          Fee
static TaxType Input
          Input Tax.
static TaxType Nonrecoverable
          Nonrecoverable Tax.
static TaxType Output
          Output Tax.
static TaxType Rental
          Rental
static TaxType Sales
          Sales tax.
static TaxType Use
          Use tax.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether the specified Object is equal to the current Object.
static TaxType fromString(java.lang.String value)
           
static TaxType fromValue(java.lang.String value)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Axis Custom Deserializer; this method is used internally by the adapter and not intended to be used by external implementation code.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Axis Custom Serializer; this method is used internally by the adapter and not intended to be used by external implementation code.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return Axis type metadata object; this method is used internally by the adapter and not intended to be used by external implementation code.
 java.lang.String getValue()
           
 int hashCode()
          Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 java.lang.Object readResolve()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_Output

public static final java.lang.String _Output
Output Tax.

See Also:
Constant Field Values

_Input

public static final java.lang.String _Input
Input Tax.

See Also:
Constant Field Values

_Nonrecoverable

public static final java.lang.String _Nonrecoverable
Nonrecoverable Tax.

See Also:
Constant Field Values

_Fee

public static final java.lang.String _Fee
Fee

See Also:
Constant Field Values

_Rental

public static final java.lang.String _Rental
Rental

See Also:
Constant Field Values

Sales

public static final TaxType Sales
Sales tax.


Use

public static final TaxType Use
Use tax.


ConsumerUse

public static final TaxType ConsumerUse
Consumer Use Tax.


Output

public static final TaxType Output
Output Tax.


Input

public static final TaxType Input
Input Tax.


Nonrecoverable

public static final TaxType Nonrecoverable
Nonrecoverable Tax.


Fee

public static final TaxType Fee
Fee


Rental

public static final TaxType Rental
Rental

Method Detail

getValue

public java.lang.String getValue()

fromValue

public static TaxType fromValue(java.lang.String value)
                         throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

fromString

public static TaxType fromString(java.lang.String value)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

equals

public boolean equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. Note: In current implementation all Java Strings members of the two objects must be exactly alike, including in case, for equal to return true.

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
true or false, indicating if the two objects are equal.

hashCode

public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:
hash code for this GetTaxRequest object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Axis Custom Serializer; this method is used internally by the adapter and not intended to be used by external implementation code.

Parameters:
mechType -
_javaType -
_xmlType -
Returns:
Serializer

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Axis Custom Deserializer; this method is used internally by the adapter and not intended to be used by external implementation code.

Parameters:
mechType -
_javaType -
_xmlType -
Returns:
Deserializer

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return Axis type metadata object; this method is used internally by the adapter and not intended to be used by external implementation code.

Returns:
Type Description