public class

Line

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

Class Overview

Java class for Line complex type.

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

 <complexType name="Line">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="No" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OriginCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DestinationCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ItemCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="TaxCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Qty" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
         <element name="Discounted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="RevAcct" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Ref1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Ref2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ExemptionNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CustomerUsageType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="TaxOverride" type="{http://avatax.avalara.com/services}TaxOverride" minOccurs="0"/>
         <element name="TaxIncluded" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="BusinessIdentificationNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected BigDecimal amount
protected String businessIdentificationNo
protected String customerUsageType
protected String description
protected String destinationCode
protected boolean discounted
protected String exemptionNo
protected String itemCode
protected String no
protected String originCode
protected BigDecimal qty
protected String ref1
protected String ref2
protected String revAcct
protected String taxCode
protected Boolean taxIncluded
protected TaxOverride taxOverride
Public Constructors
Line()
Public Methods
BigDecimal getAmount()
Gets the value of the amount property.
String getBusinessIdentificationNo()
Gets the value of the businessIdentificationNo property.
String getCustomerUsageType()
Gets the value of the customerUsageType property.
String getDescription()
Gets the value of the description property.
String getDestinationCode()
Gets the value of the destinationCode property.
String getExemptionNo()
Gets the value of the exemptionNo property.
String getItemCode()
Gets the value of the itemCode property.
String getNo()
Gets the value of the no property.
String getOriginCode()
Gets the value of the originCode property.
BigDecimal getQty()
Gets the value of the qty property.
String getRef1()
Gets the value of the ref1 property.
String getRef2()
Gets the value of the ref2 property.
String getRevAcct()
Gets the value of the revAcct property.
String getTaxCode()
Gets the value of the taxCode property.
TaxOverride getTaxOverride()
Gets the value of the taxOverride property.
boolean isDiscounted()
Gets the value of the discounted property.
Boolean isTaxIncluded()
Gets the value of the taxIncluded property.
void setAmount(BigDecimal value)
Sets the value of the amount property.
void setBusinessIdentificationNo(String value)
Sets the value of the businessIdentificationNo property.
void setCustomerUsageType(String value)
Sets the value of the customerUsageType property.
void setDescription(String value)
Sets the value of the description property.
void setDestinationCode(String value)
Sets the value of the destinationCode property.
void setDiscounted(boolean value)
Sets the value of the discounted property.
void setExemptionNo(String value)
Sets the value of the exemptionNo property.
void setItemCode(String value)
Sets the value of the itemCode property.
void setNo(String value)
Sets the value of the no property.
void setOriginCode(String value)
Sets the value of the originCode property.
void setQty(BigDecimal value)
Sets the value of the qty property.
void setRef1(String value)
Sets the value of the ref1 property.
void setRef2(String value)
Sets the value of the ref2 property.
void setRevAcct(String value)
Sets the value of the revAcct property.
void setTaxCode(String value)
Sets the value of the taxCode property.
void setTaxIncluded(Boolean value)
Sets the value of the taxIncluded property.
void setTaxOverride(TaxOverride value)
Sets the value of the taxOverride property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected BigDecimal amount

protected String businessIdentificationNo

protected String customerUsageType

protected String description

protected String destinationCode

protected boolean discounted

protected String exemptionNo

protected String itemCode

protected String no

protected String originCode

protected BigDecimal qty

protected String ref1

protected String ref2

protected String revAcct

protected String taxCode

protected Boolean taxIncluded

protected TaxOverride taxOverride

Public Constructors

public Line ()

Public Methods

public BigDecimal getAmount ()

Gets the value of the amount property.

Returns
  • possible object is BigDecimal

public String getBusinessIdentificationNo ()

Gets the value of the businessIdentificationNo property.

Returns
  • possible object is String

public String getCustomerUsageType ()

Gets the value of the customerUsageType property.

Returns
  • possible object is String

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public String getDestinationCode ()

Gets the value of the destinationCode property.

Returns
  • possible object is String

public String getExemptionNo ()

Gets the value of the exemptionNo property.

Returns
  • possible object is String

public String getItemCode ()

Gets the value of the itemCode property.

Returns
  • possible object is String

public String getNo ()

Gets the value of the no property.

Returns
  • possible object is String

public String getOriginCode ()

Gets the value of the originCode property.

Returns
  • possible object is String

public BigDecimal getQty ()

Gets the value of the qty property.

Returns
  • possible object is BigDecimal

public String getRef1 ()

Gets the value of the ref1 property.

Returns
  • possible object is String

public String getRef2 ()

Gets the value of the ref2 property.

Returns
  • possible object is String

public String getRevAcct ()

Gets the value of the revAcct property.

Returns
  • possible object is String

public String getTaxCode ()

Gets the value of the taxCode property.

Returns
  • possible object is String

public TaxOverride getTaxOverride ()

Gets the value of the taxOverride property.

Returns

public boolean isDiscounted ()

Gets the value of the discounted property.

public Boolean isTaxIncluded ()

Gets the value of the taxIncluded property.

Returns
  • possible object is Boolean

public void setAmount (BigDecimal value)

Sets the value of the amount property.

Parameters
value Allowed object is BigDecimal

public void setBusinessIdentificationNo (String value)

Sets the value of the businessIdentificationNo property.

Parameters
value Allowed object is String

public void setCustomerUsageType (String value)

Sets the value of the customerUsageType property.

Parameters
value Allowed object is String

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setDestinationCode (String value)

Sets the value of the destinationCode property.

Parameters
value Allowed object is String

public void setDiscounted (boolean value)

Sets the value of the discounted property.

Parameters
value

public void setExemptionNo (String value)

Sets the value of the exemptionNo property.

Parameters
value Allowed object is String

public void setItemCode (String value)

Sets the value of the itemCode property.

Parameters
value Allowed object is String

public void setNo (String value)

Sets the value of the no property.

Parameters
value Allowed object is String

public void setOriginCode (String value)

Sets the value of the originCode property.

Parameters
value Allowed object is String

public void setQty (BigDecimal value)

Sets the value of the qty property.

Parameters
value Allowed object is BigDecimal

public void setRef1 (String value)

Sets the value of the ref1 property.

Parameters
value Allowed object is String

public void setRef2 (String value)

Sets the value of the ref2 property.

Parameters
value Allowed object is String

public void setRevAcct (String value)

Sets the value of the revAcct property.

Parameters
value Allowed object is String

public void setTaxCode (String value)

Sets the value of the taxCode property.

Parameters
value Allowed object is String

public void setTaxIncluded (Boolean value)

Sets the value of the taxIncluded property.

Parameters
value Allowed object is Boolean

public void setTaxOverride (TaxOverride value)

Sets the value of the taxOverride property.

Parameters
value Allowed object is TaxOverride