|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.CommitTaxRequest
public class CommitTaxRequest
Data to pass to TaxSvcSoap.commitTax(com.avalara.avatax.services.tax.CommitTaxRequest)
indicating the document that should be committed.
A document can be indicated solely by the getDocId()
if it is known.
Otherwise the request must specify all of getCompanyCode()
,
getDocCode()
and
getDocType()
in order to uniquely identify the document.
CommitTaxResult
,
Serialized FormConstructor Summary | |
---|---|
CommitTaxRequest()
Initializes a new instance of the class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. |
java.lang.String |
getCompanyCode()
Gets the client application company reference code. |
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. |
java.lang.String |
getDocCode()
Gets the Document Code, that is the internal reference code used by the client application. |
java.lang.String |
getDocId()
A unique document ID. |
DocumentType |
getDocType()
The original document's type, such as Sales Invoice or Purchase Invoice. |
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. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
void |
setCompanyCode(java.lang.String companyCode)
Sets the client application company reference code. |
void |
setDocCode(java.lang.String docCode)
Sets the Document Code, that is the internal reference code used by the client application. |
void |
setDocId(java.lang.String docId)
A unique document ID. |
void |
setDocType(DocumentType docType)
The original document's type, such as Sales Invoice or Purchase Invoice. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommitTaxRequest()
Method Detail |
---|
public java.lang.String getDocId()
This is a unique AvaTax identifier for this document. If known, the CompanyCode, DocCode, and DocType are not needed.
GetTaxResult.getDocId()
public void setDocId(java.lang.String docId)
This is a unique AvaTax identifier for this document. If known, the CompanyCode, DocCode, and DocType are not needed.
docId
- GetTaxResult.getDocId()
public java.lang.String getCompanyCode()
public void setCompanyCode(java.lang.String companyCode)
companyCode
- public DocumentType getDocType()
public void setDocType(DocumentType docType)
docType
- public java.lang.String getDocCode()
public void setDocCode(java.lang.String docCode)
Implementation for DocCode has been updated. Some seller system generates DocCode at the time of CommitTax. This enables user to provide a new DocCode at the time of CommitTax call and this should overwrite the existing DocCode.
docCode
- 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 static org.apache.axis.description.TypeDesc getTypeDesc()
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |