|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.DocumentType
public class DocumentType
The document type specifies the category of the document and affects how the document
is treated after a tax calculation. Specified when constructing a GetTaxRequest
.
Field Summary | |
---|---|
static DocumentType |
PurchaseInvoice
The document is a permanent invoice; document and tax calculation results are saved in the tax history. |
static DocumentType |
PurchaseOrder
Purchase order, estimate, or quote. |
static DocumentType |
ReturnInvoice
The document is a permanent sales return invoice; document and tax calculation results are saved in the tax history GetTaxResult will return with a DocStatus
of Saved. |
static DocumentType |
ReturnOrder
Sales Return Order. |
static DocumentType |
SalesInvoice
The document is a permanent invoice; document and tax calculation results are saved in the tax history. |
static DocumentType |
SalesOrder
Sales Order, estimate or quote. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. |
static DocumentType |
fromString(java.lang.String value)
|
static DocumentType |
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 |
---|
public static final DocumentType SalesOrder
GetTaxResult
will return with a DocStatus
of Temporary.
public static final DocumentType SalesInvoice
GetTaxResult
will return with a DocStatus
of Saved
public static final DocumentType PurchaseOrder
GetTaxResult
will return with a DocStatus
of Temporary.
public static final DocumentType PurchaseInvoice
GetTaxResult
will return with a DocStatus
of Saved.
public static final DocumentType ReturnOrder
GetTaxResult
will return with a DocStatus
of Temporary.
public static final DocumentType ReturnInvoice
GetTaxResult
will return with a DocStatus
of Saved.
Method Detail |
---|
public java.lang.String getValue()
public static DocumentType fromValue(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static DocumentType fromString(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.description.TypeDesc getTypeDesc()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |