|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.BaseResult
com.avalara.avatax.services.tax.GetTaxResult
public class GetTaxResult
Result data returned from TaxSvcSoap.getTax(com.avalara.avatax.services.tax.GetTaxRequest)
.
GetTaxRequest
,
Serialized FormConstructor Summary | |
---|---|
GetTaxResult()
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 |
getAdjustmentDescription()
Gets the AdjustTaxRequest.adjustmentDescription value for this GetTaxResult. |
int |
getAdjustmentReason()
Gets the AdjustTaxRequest.adjustmentReason value for this GetTaxResult. |
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 internal reference code used by the client application; This is used for operations such as Post and GetTaxHistory. |
java.util.Date |
getDocDate()
Gets the date on the invoice, purchase order, etc. |
java.lang.String |
getDocId()
Gets the Document ID. |
DocStatus |
getDocStatus()
Gets the document's status after the tax calculation. |
DocumentType |
getDocType()
Gets the Document Type. |
int |
getHashCode()
Gets the hashCode value for this GetTaxResult. |
boolean |
getLocked()
Gets the locked value for this GetTaxResult. |
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. |
ArrayOfTaxAddress |
getTaxAddresses()
Gets the taxAddresses value for this GetTaxResult. |
java.util.Date |
getTaxDate()
Gets the taxDate value for this GetTaxResult. |
ArrayOfTaxLine |
getTaxLines()
Gets the Tax broken down by individual TaxLine . |
ArrayOfTaxDetail |
getTaxSummary()
Gets the taxSummary value for this GetTaxResult. |
java.util.Calendar |
getTimestamp()
Date of the last status change on the document (i.e. |
java.math.BigDecimal |
getTotalAmount()
Gets the sum of all line Line.getAmount() values. |
java.math.BigDecimal |
getTotalDiscount()
Gets the sum of all TaxLine TaxLine.getDiscount() amounts; Typically it
will equal the requested Discount, but, but it is possible that no lines were marked as discounted. |
java.math.BigDecimal |
getTotalExemption()
Deprecated. See TaxDetail.getExemption() . |
java.math.BigDecimal |
getTotalTax()
Gets the total tax for the document. |
java.math.BigDecimal |
getTotalTaxable()
Deprecated. See TaxDetail.getTaxable() . |
java.math.BigDecimal |
getTotalTaxCalculated()
Gets the totalTaxCalculated value for this GetTaxResult. |
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 |
getVersion()
Gets the version value for this GetTaxResult. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
boolean |
isReconciled()
True if the document has been reconciled; Only committed documents can be reconciled. |
void |
setAdjustmentDescription(java.lang.String adjustmentDescription)
Sets the adjustmentDescription value for this GetTaxResult. |
void |
setAdjustmentReason(int adjustmentReason)
Sets the adjustmentReason value for this GetTaxResult. |
void |
setDocCode(java.lang.String docCode)
Sets the internal reference code used by the client application; This is used for operations such as Post and GetTaxHistory. |
void |
setDocDate(java.util.Date docDate)
Sets the date on the invoice, purchase order, etc. |
void |
setDocId(java.lang.String docId)
Sets the Document ID. |
void |
setDocStatus(DocStatus docStatus)
Sets the document's status after the tax calculation. |
void |
setDocType(DocumentType docType)
Sets the the Document Type. |
void |
setHashCode(int hashCode)
Sets the hashCode value for this GetTaxResult. |
void |
setLocked(boolean locked)
Sets the locked value for this GetTaxResult. |
void |
setReconciled(boolean reconciled)
True if the document has been reconciled; Only committed documents can be reconciled. |
void |
setTaxAddresses(ArrayOfTaxAddress taxAddresses)
Sets the taxAddresses value for this GetTaxResult. |
void |
setTaxDate(java.util.Date taxDate)
Sets the taxDate value for this GetTaxResult. |
void |
setTaxLines(ArrayOfTaxLine taxLines)
Sets the Tax broken down by individual TaxLine . |
void |
setTaxSummary(ArrayOfTaxDetail taxSummary)
Sets the taxSummary value for this GetTaxResult. |
void |
setTimestamp(java.util.Calendar timestamp)
Date of the last status change on the document (i.e. |
void |
setTotalAmount(java.math.BigDecimal totalAmount)
Sets the sum of all line Line.getAmount() values. |
void |
setTotalDiscount(java.math.BigDecimal totalDiscount)
Sets the sum of all TaxLine TaxLine.getDiscount() amounts;
Typically it will equal the requested Discount, but, but it is possible that no lines were marked as discounted. |
void |
setTotalExemption(java.math.BigDecimal totalExemption)
Deprecated. See TaxDetail.setExemption(java.math.BigDecimal) . |
void |
setTotalTax(java.math.BigDecimal totalTax)
Sets the total tax for the document. |
void |
setTotalTaxable(java.math.BigDecimal totalTaxable)
Deprecated. See TaxDetail.setTaxable(java.math.BigDecimal) . |
void |
setTotalTaxCalculated(java.math.BigDecimal totalTaxCalculated)
Sets the totalTaxCalculated value for this GetTaxResult. |
void |
setVersion(int version)
Sets the version value for this GetTaxResult. |
Methods inherited from class com.avalara.avatax.services.tax.BaseResult |
---|
getMessages, getResultCode, getTransactionId, setMessages, setResultCode, setTransactionId |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetTaxResult()
Method Detail |
---|
public java.lang.String getDocId()
This is a unique AvaTax identifier for this document which can be used for PostTax, CommitTax, CancelTax, and GetTaxHistory.
public void setDocId(java.lang.String docId)
This is a unique AvaTax identifier for this document which can be used for PostTax, CommitTax, CancelTax, and GetTaxHistory.
docId
- public DocumentType getDocType()
See GetTaxRequest.getDocType()
on GetTaxRequest for more information about this member.
public void setDocType(DocumentType docType)
See GetTaxRequest.getDocType()
on GetTaxRequest for more information about this member.
docType
- public java.lang.String getDocCode()
See GetTaxRequest.getDocCode()
on GetTaxRequest for more information
about this member.
public void setDocCode(java.lang.String docCode)
See GetTaxRequest.getDocCode()
on GetTaxRequest for more information
about this member.
docCode
- public java.util.Date getDocDate()
See GetTaxRequest.getDocDate()
on GetTaxRequest for more information about this member.
public void setDocDate(java.util.Date docDate)
See GetTaxRequest.getDocDate()
on GetTaxRequest for more information about this member.
docDate
- public DocStatus getDocStatus()
public void setDocStatus(DocStatus docStatus)
docStatus
- public boolean isReconciled()
For information on committing documents, see the TaxSvc's
TaxSvcSoap.commitTax(com.avalara.avatax.services.tax.CommitTaxRequest)
method. For information
on reconciling documents, see the TaxSvcSoap.reconcileTaxHistory(com.avalara.avatax.services.tax.ReconcileTaxHistoryRequest)
method.
public void setReconciled(boolean reconciled)
For information on committing documents, see the TaxSvc's
TaxSvcSoap.commitTax(com.avalara.avatax.services.tax.CommitTaxRequest)
method. For information
on reconciling documents, see the TaxSvcSoap.reconcileTaxHistory(com.avalara.avatax.services.tax.ReconcileTaxHistoryRequest)
method.
reconciled
- public java.util.Calendar getTimestamp()
public void setTimestamp(java.util.Calendar timestamp)
timestamp
- public java.math.BigDecimal getTotalAmount()
Line.getAmount()
values.
public void setTotalAmount(java.math.BigDecimal totalAmount)
Line.getAmount()
values.
totalAmount
- public java.math.BigDecimal getTotalDiscount()
TaxLine.getDiscount()
amounts; Typically it
will equal the requested Discount, but, but it is possible that no lines were marked as discounted.
public void setTotalDiscount(java.math.BigDecimal totalDiscount)
TaxLine.getDiscount()
amounts;
Typically it will equal the requested Discount, but, but it is possible that no lines were marked as discounted.
totalDiscount
- public java.math.BigDecimal getTotalExemption()
TaxDetail.getExemption()
.
TaxLine.getExemption()
amounts.
public void setTotalExemption(java.math.BigDecimal totalExemption)
TaxDetail.setExemption(java.math.BigDecimal)
.
TaxLine.getExemption()
amounts.
totalExemption
- public java.math.BigDecimal getTotalTaxable()
TaxDetail.getTaxable()
.
Line
Base amounts;
Typically it will be equal to the document
getTotalAmount()
- GetTaxRequest.getDiscount()
- getTotalExemption()
.
public void setTotalTaxable(java.math.BigDecimal totalTaxable)
TaxDetail.setTaxable(java.math.BigDecimal)
.
Line
Base amounts;
Typically it will be equal to the document
getTotalAmount()
- GetTaxRequest.getDiscount()
- getTotalExemption()
.
totalTaxable
- public java.math.BigDecimal getTotalTax()
public void setTotalTax(java.math.BigDecimal totalTax)
totalTax
- public java.math.BigDecimal getTotalTaxCalculated()
public void setTotalTaxCalculated(java.math.BigDecimal totalTaxCalculated)
totalTaxCalculated
- public int getHashCode()
This should be computed by an SDK developer using some standard algorithm out of the content of the object. This value gets stored in the system and can be retrieved for the cross checking [Internal Reconciliation purpose]. See sample code for more details
public void setHashCode(int hashCode)
This should be computed by an SDK developer using some standard algorithm out of the content of the object. This value gets stored in the system and can be retrieved for the cross checking [Internal Reconciliation purpose].
See sample code for more details
hashCode
- public ArrayOfTaxLine getTaxLines()
TaxLine
.
public void setTaxLines(ArrayOfTaxLine taxLines)
TaxLine
.
taxLines
- public ArrayOfTaxAddress getTaxAddresses()
public void setTaxAddresses(ArrayOfTaxAddress taxAddresses)
taxAddresses
- public boolean getLocked()
Flag indicating if a Document has been locked by Avalara's MRS process. Locked documents can not be modified and can not be cancelled because they have been reported on Tax Return.
public void setLocked(boolean locked)
locked
- public int getAdjustmentReason()
AdjustTaxRequest.adjustmentReason
value for this GetTaxResult.
public void setAdjustmentReason(int adjustmentReason)
adjustmentReason
- public java.lang.String getAdjustmentDescription()
AdjustTaxRequest.adjustmentDescription
value for this GetTaxResult.
public void setAdjustmentDescription(java.lang.String adjustmentDescription)
adjustmentDescription
- public int getVersion()
public void setVersion(int version)
version
- public java.util.Date getTaxDate()
public void setTaxDate(java.util.Date taxDate)
taxDate
- public ArrayOfTaxDetail getTaxSummary()
DetailLevel
in GetTaxRequest is set to summary.
It contains summary of TaxDetails for the entire document grouped by Country, JurisType, JurisCode, and Rate.
public void setTaxSummary(ArrayOfTaxDetail taxSummary)
taxSummary
- public boolean equals(java.lang.Object obj)
BaseResult
equals
in class BaseResult
public int hashCode()
hashCode
in class BaseResult
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 |