|
|||||||||
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.SearchTaxHistoryResult
public class SearchTaxHistoryResult
Result data returned from TaxSvcSoap.reconcileTaxHistory(com.avalara.avatax.services.tax.ReconcileTaxHistoryRequest)
.
This class encapsulates the data and methods used by ReconcileTaxHistoryResult
.
ReconcileTaxHistoryRequest
,
Serialized FormConstructor Summary | |
---|---|
SearchTaxHistoryResult()
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. |
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. |
ArrayOfGetTaxResult |
getGetTaxResults()
Gets zero or more GetTaxResult summaries matching search criteria. |
java.lang.String |
getLastDocId()
Indicates the last Document Code ( GetTaxResult.getDocId() ) the results list. |
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 |
setGetTaxResults(ArrayOfGetTaxResult getTaxResults)
Sets zero or more GetTaxResult summaries matching search criteria. |
void |
setLastDocId(java.lang.String lastDocId)
Indicates the last Document Code ( GetTaxResult.getDocId() ) the results list. |
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 SearchTaxHistoryResult()
Method Detail |
---|
public ArrayOfGetTaxResult getGetTaxResults()
GetTaxResult
summaries matching search criteria.
If LastDocId was not specified by the ReconcileTaxHistoryRequest
,
then this is the first set of records that need reconciliation. If LastDocId was specified,
the collection represents the next set of records after LastDocId. If the collection is
empty, then all records have been reconciled and the result's LastDocId will be set to the
last record of the last result set.
The GetTaxResults are returned in an Axis wrapper ArrayOfGetTaxResult
, which has a
raw GetTaxResult[] array accessible via its ArrayOfGetTaxResult.getGetTaxResult()
method.
Example: [Java] ReconcileTaxHistoryResult result = new taxSvc.reconcileTaxHistory(request); ArrayOfGetTaxResult resultArr = result.getGetTaxResults(); int numTaxResults = (resultArr == null || resultArr.getGetTaxResult() == null ? 0 : resultArr.getGetTaxResult().length); for (int i = 0 ; i < numTaxResults; i++) { GetTaxResult taxResult = resultArr.getGetTaxResult(i); ... }
public void setGetTaxResults(ArrayOfGetTaxResult getTaxResults)
GetTaxResult
summaries matching search criteria.
If LastDocId was not specified by the ReconcileTaxHistoryRequest
,
then this is the first set of records that need reconciliation. If LastDocId was specified,
the collection represents the next set of records after LastDocId. If the collection is
empty, then all records have been reconciled and the result's LastDocId will be set to the
last record of the last result set.
The GetTaxResults are returned in an Axis wrapper ArrayOfGetTaxResult
, which has a
raw GetTaxResult[] array accessible via its ArrayOfGetTaxResult.getGetTaxResult()
method.
Example: [Java] ReconcileTaxHistoryResult result = new taxSvc.reconcileTaxHistory(request); ArrayOfGetTaxResult resultArr = result.getGetTaxResults(); int numTaxResults = (resultArr == null || resultArr.getGetTaxResult() == null ? 0 : resultArr.getGetTaxResult().length); for (int i = 0 ; i < numTaxResults; i++) { GetTaxResult taxResult = resultArr.getGetTaxResult(i); ... }
getTaxResults
- public java.lang.String getLastDocId()
GetTaxResult.getDocId()
) the results list.
If getGetTaxResults()
is not empty, then this
LastDocId should be passed to the next ReconcileTaxHistoryRequest
.
If getGetTaxResults()
is empty, then this LastDocId can be
passed to ReconcileTaxHistoryRequest
with the request's
ReconcileTaxHistoryRequest.isReconciled()
flag
set to true in order to reconcile all documents up to and including the LastDocId.
ReconcileTaxHistoryResult
public void setLastDocId(java.lang.String lastDocId)
GetTaxResult.getDocId()
) the results list.
If getGetTaxResults()
is not empty, then this
LastDocId should be passed to the next ReconcileTaxHistoryRequest
.
If getGetTaxResults()
is empty, then this LastDocId can be
passed to ReconcileTaxHistoryRequest
with the request's
ReconcileTaxHistoryRequest.isReconciled()
flag
set to true in order to reconcile all documents up to and including the LastDocId.
lastDocId
- ReconcileTaxHistoryResult
public boolean equals(java.lang.Object obj)
equals
in class BaseResult
obj
-
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)
mechType
- _javaType
- _xmlType
-
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- _javaType
- _xmlType
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |