com.avalara.avatax.services.tax
Class DetailLevel

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

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

Specifies the level of tax detail to return to the client application following a tax calculation. See GetTaxRequest and GetTaxHistoryRequest.

See Also:
Serialized Form

Field Summary
static DetailLevel Diagnostic
          Tax jurisdiction level details (includes Document, ArrayOfTaxLine, and ArrayOfTaxDetail)
static DetailLevel Document
          Document (GetTaxResult) level details; ArrayOfTaxLine will not be returned.
static DetailLevel Line
          Line level details (includes Document details).
static DetailLevel Summary
          Reserved for future use.
static DetailLevel Tax
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether the specified Object is equal to the current Object.
static DetailLevel fromString(java.lang.String value)
           
static DetailLevel 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

Summary

public static final DetailLevel Summary
Reserved for future use.


Document

public static final DetailLevel Document
Document (GetTaxResult) level details; ArrayOfTaxLine will not be returned.


Line

public static final DetailLevel Line
Line level details (includes Document details). ArrayOfTaxLine will be returned but ArrayOfTaxDetail will not be returned.


Diagnostic

public static final DetailLevel Diagnostic
Tax jurisdiction level details (includes Document, ArrayOfTaxLine, and ArrayOfTaxDetail)


Tax

public static final DetailLevel Tax
Method Detail

getValue

public java.lang.String getValue()

fromValue

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

fromString

public static DetailLevel 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.


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.


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.