|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.ArrayOfGetTaxResult
public class ArrayOfGetTaxResult
A wrapper object used by Axis to encapsulate an array of zero or more GetTaxResult
objects
for SOAP transmission via the Web.
Note: The internally kept GetTaxResult array is not guaranteed to be properly initialized (this is
generally true for Axis ArrayOfX wrapper objects); one should always test that it is not null
before using.
Example: [Java] ReconcileTaxHistoryRequest request = new ReconcileTaxHistoryRequest(); request.setCompanyCode("DEFAULT"); request.setReconciled(false); ReconcileTaxHistoryResult result = taxSvc.reconcileTaxHistory(request); GetTaxResult taxResults[] = result.getGetTaxResults().getGetTaxResult(); Assert.assertEquals(SeverityLevel.Success, result.getResultCode()); for (int ii = 0; taxResults != null && ii < taxResults.length; ii++) { GetTaxResult taxResult = taxResults[ii]; System.out.println("TaxResult # i, Reconciled = " + taxResult.isReconciled() + ", DocStatus = " + taxResult.getDocStatus()); }
ReconcileTaxHistoryRequest
,
Serialized FormConstructor Summary | |
---|---|
ArrayOfGetTaxResult()
Initializes a new instance of the class with an empty array of GetTaxResult objects. |
|
ArrayOfGetTaxResult(GetTaxResult[] getTaxResult)
Initializes a new instance of the class and and its internal array of GetTaxResult objects. |
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. |
GetTaxResult[] |
getGetTaxResult()
Retrieves the raw array of GetTaxResult objects encapsulated in
this object. |
GetTaxResult |
getGetTaxResult(int i)
Retrieves the ith GetTaxResult object (counting from 0) from the array
of GetTaxResults encapsulated in this object. |
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 |
setGetTaxResult(GetTaxResult[] getTaxResult)
Allows one to programatically set the raw array of GetTaxResult objects
encapsulated by this object. |
void |
setGetTaxResult(int i,
GetTaxResult _value)
Allows one to replace the ith GetTaxResult object (counting from 0) within the array
of GetTaxResults encapsulated in this object. |
int |
size()
Gets the size of the array. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayOfGetTaxResult()
GetTaxResult
objects.
public ArrayOfGetTaxResult(GetTaxResult[] getTaxResult)
GetTaxResult
objects.
getTaxResult
- Method Detail |
---|
public GetTaxResult[] getGetTaxResult()
GetTaxResult
objects encapsulated in
this object.
public void setGetTaxResult(GetTaxResult[] getTaxResult)
GetTaxResult
objects
encapsulated by this object.
getTaxResult
- public GetTaxResult getGetTaxResult(int i)
GetTaxResult
object (counting from 0) from the array
of GetTaxResults encapsulated in this object. Should only be used if its known
that getGetTaxResult()
returns a non-null value and that i < number of GetTaxResults
actually in that array.
i
- integer from 0 to (number of GetTaxResults -1)
public void setGetTaxResult(int i, GetTaxResult _value)
GetTaxResult
object (counting from 0) within the array
of GetTaxResults encapsulated in this object. Should only be used if its known
that getGetTaxResult()
returns a non-null value and that i < number of GetTaxResults
actually in that array.
i
- integer from 0 to (number of GetTaxResults -1)_value
- GetTaxResult object to place in the indicated position of the
GetTaxResult arraypublic 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)
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
-
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |