public class

PostTaxRequest

extends Object
java.lang.Object
   ↳ com.avalara.avatax.services.PostTaxRequest

Class Overview

Java class for PostTaxRequest complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PostTaxRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DocId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CompanyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DocType" type="{http://avatax.avalara.com/services}DocumentType"/>
         <element name="DocCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DocDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="TotalAmount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="TotalTax" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="HashCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Commit" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="NewDocCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected boolean commit
protected String companyCode
protected String docCode
protected XMLGregorianCalendar docDate
protected String docId
protected DocumentType docType
protected int hashCode
protected String newDocCode
protected BigDecimal totalAmount
protected BigDecimal totalTax
Public Constructors
PostTaxRequest()
Public Methods
String getCompanyCode()
Gets the value of the companyCode property.
String getDocCode()
Gets the value of the docCode property.
XMLGregorianCalendar getDocDate()
Gets the value of the docDate property.
String getDocId()
Gets the value of the docId property.
DocumentType getDocType()
Gets the value of the docType property.
int getHashCode()
Gets the value of the hashCode property.
String getNewDocCode()
Gets the value of the newDocCode property.
BigDecimal getTotalAmount()
Gets the value of the totalAmount property.
BigDecimal getTotalTax()
Gets the value of the totalTax property.
boolean isCommit()
Gets the value of the commit property.
void setCommit(boolean value)
Sets the value of the commit property.
void setCompanyCode(String value)
Sets the value of the companyCode property.
void setDocCode(String value)
Sets the value of the docCode property.
void setDocDate(XMLGregorianCalendar value)
Sets the value of the docDate property.
void setDocId(String value)
Sets the value of the docId property.
void setDocType(DocumentType value)
Sets the value of the docType property.
void setHashCode(int value)
Sets the value of the hashCode property.
void setNewDocCode(String value)
Sets the value of the newDocCode property.
void setTotalAmount(BigDecimal value)
Sets the value of the totalAmount property.
void setTotalTax(BigDecimal value)
Sets the value of the totalTax property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected boolean commit

protected String companyCode

protected String docCode

protected XMLGregorianCalendar docDate

protected String docId

protected DocumentType docType

protected int hashCode

protected String newDocCode

protected BigDecimal totalAmount

protected BigDecimal totalTax

Public Constructors

public PostTaxRequest ()

Public Methods

public String getCompanyCode ()

Gets the value of the companyCode property.

Returns
  • possible object is String

public String getDocCode ()

Gets the value of the docCode property.

Returns
  • possible object is String

public XMLGregorianCalendar getDocDate ()

Gets the value of the docDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getDocId ()

Gets the value of the docId property.

Returns
  • possible object is String

public DocumentType getDocType ()

Gets the value of the docType property.

Returns

public int getHashCode ()

Gets the value of the hashCode property.

public String getNewDocCode ()

Gets the value of the newDocCode property.

Returns
  • possible object is String

public BigDecimal getTotalAmount ()

Gets the value of the totalAmount property.

Returns
  • possible object is BigDecimal

public BigDecimal getTotalTax ()

Gets the value of the totalTax property.

Returns
  • possible object is BigDecimal

public boolean isCommit ()

Gets the value of the commit property.

public void setCommit (boolean value)

Sets the value of the commit property.

Parameters
value

public void setCompanyCode (String value)

Sets the value of the companyCode property.

Parameters
value Allowed object is String

public void setDocCode (String value)

Sets the value of the docCode property.

Parameters
value Allowed object is String

public void setDocDate (XMLGregorianCalendar value)

Sets the value of the docDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setDocId (String value)

Sets the value of the docId property.

Parameters
value Allowed object is String

public void setDocType (DocumentType value)

Sets the value of the docType property.

Parameters
value Allowed object is DocumentType

public void setHashCode (int value)

Sets the value of the hashCode property.

Parameters
value

public void setNewDocCode (String value)

Sets the value of the newDocCode property.

Parameters
value Allowed object is String

public void setTotalAmount (BigDecimal value)

Sets the value of the totalAmount property.

Parameters
value Allowed object is BigDecimal

public void setTotalTax (BigDecimal value)

Sets the value of the totalTax property.

Parameters
value Allowed object is BigDecimal