|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.CancelCode
public class CancelCode
A cancel code is set on a CancelTaxRequest
and specifies the reason the
tax calculation is being canceled (or in the case of posting, returned to its prior state).
Field Summary | |
---|---|
static CancelCode |
AdjustmentCancelled
Specifies the document was adjusted within the client's application and should be removed from the AvaTax records; If the document within AvaTax is already committed, the document status will be changed to Cancelled and retained for historical records; If the document was not committed, (was Saved or Posted) the document will be deleted within AvaTax. |
static CancelCode |
DocDeleted
Specifies the document was deleted within the client's application and should be removed from the AvaTax records; If the document within AvaTax is already committed, the document status will be changed to Cancelled and retained for historical records; If the document was not committed, (was Saved or Posted) the document will be deleted within AvaTax. |
static CancelCode |
DocVoided
Specifies the document was voided within the client's application and should be removed from the AvaTax records; If the document within AvaTax is already committed, the document status will be changed to Cancelled and retained for historical records; If the document was not committed, (was Saved or Posted) the document will be deleted within AvaTax. |
static CancelCode |
PostFailed
Specifies the post operation failed when attempting to post an invoice within a client's application, for example, to the client's General Ledger; The document's status will be changed to Saved. |
static CancelCode |
Unspecified
Unspecified reason |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. |
static CancelCode |
fromString(java.lang.String value)
|
static CancelCode |
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 CancelCode Unspecified
public static final CancelCode PostFailed
public static final CancelCode DocDeleted
public static final CancelCode DocVoided
public static final CancelCode AdjustmentCancelled
Method Detail |
---|
public java.lang.String getValue()
public static CancelCode fromValue(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static CancelCode 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 |