com.avalara.avatax.services.tax
Class AdjustTaxRequest

java.lang.Object
  extended by com.avalara.avatax.services.tax.AdjustTaxRequest
All Implemented Interfaces:
java.io.Serializable

public class AdjustTaxRequest
extends java.lang.Object
implements java.io.Serializable

Data to pass to TaxSvcSoap.adjustTax(com.avalara.avatax.services.tax.AdjustTaxRequest).

See Also:
AdjustTaxResult, Serialized Form

Constructor Summary
AdjustTaxRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAdjustmentDescription()
          Gets the adjustmentDescription value for this AdjustTaxRequest.
 int getAdjustmentReason()
          Gets the adjustmentReason value for this AdjustTaxRequest.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 GetTaxRequest getGetTaxRequest()
          Gets the getTaxRequest value for this AdjustTaxRequest.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdjustmentDescription(java.lang.String adjustmentDescription)
          Sets the adjustmentDescription value for this AdjustTaxRequest.
 void setAdjustmentReason(int adjustmentReason)
          Sets the adjustmentReason value for this AdjustTaxRequest.
 void setGetTaxRequest(GetTaxRequest getTaxRequest)
          Sets the GetTaxRequest value for this AdjustTaxRequest.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdjustTaxRequest

public AdjustTaxRequest()
Method Detail

getAdjustmentReason

public int getAdjustmentReason()
Gets the adjustmentReason value for this AdjustTaxRequest.

Returns:
adjustmentReason

setAdjustmentReason

public void setAdjustmentReason(int adjustmentReason)
Sets the adjustmentReason value for this AdjustTaxRequest.

Reason for Adjusting document. Sets a valid reason for the given AdjustTax call. Adjustment Reason is a high level classification of why an Original Document is being modified.. Please visit Avalara's Administrative Console's transaction adjustment section for latest AdjustmentReasonList.

Parameters:
adjustmentReason -

getAdjustmentDescription

public java.lang.String getAdjustmentDescription()
Gets the adjustmentDescription value for this AdjustTaxRequest.

Returns:
adjustmentDescription

setAdjustmentDescription

public void setAdjustmentDescription(java.lang.String adjustmentDescription)
Sets the adjustmentDescription value for this AdjustTaxRequest.

Sets description for the given AdjustTax call. Adjustment Description is required when adjustmentReason is "Other" for enhanced tractability.

Parameters:
adjustmentDescription -

getGetTaxRequest

public GetTaxRequest getGetTaxRequest()
Gets the getTaxRequest value for this AdjustTaxRequest.

Returns:
getTaxRequest

setGetTaxRequest

public void setGetTaxRequest(GetTaxRequest getTaxRequest)
Sets the GetTaxRequest value for this AdjustTaxRequest.

Parameters:
getTaxRequest -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer