Package net.authorize.api.contract.v1
Class LineItemType
- java.lang.Object
-
- net.authorize.api.contract.v1.LineItemType
-
public class LineItemType extends Object
Java class for lineItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="lineItemType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="itemId"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="31"/> </restriction> </simpleType> </element> <element name="name"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <minLength value="1"/> <maxLength value="31"/> </restriction> </simpleType> </element> <element name="description" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="255"/> </restriction> </simpleType> </element> <element name="quantity"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <minInclusive value="0.00"/> <fractionDigits value="4"/> </restriction> </simpleType> </element> <element name="unitPrice"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <minInclusive value="0.00"/> <fractionDigits value="4"/> </restriction> </simpleType> </element> <element name="taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="unitOfMeasure" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="12"/> </restriction> </simpleType> </element> <element name="typeOfSupply" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="2"/> </restriction> </simpleType> </element> <element name="taxRate" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <totalDigits value="5"/> <fractionDigits value="5"/> </restriction> </simpleType> </element> <element name="taxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="nationalTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="localTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="vatRate" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <totalDigits value="5"/> <fractionDigits value="5"/> </restriction> </simpleType> </element> <element name="alternateTaxId" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="20"/> </restriction> </simpleType> </element> <element name="alternateTaxType" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="4"/> </restriction> </simpleType> </element> <element name="alternateTaxTypeApplied" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="4"/> </restriction> </simpleType> </element> <element name="alternateTaxRate" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <totalDigits value="5"/> <fractionDigits value="5"/> </restriction> </simpleType> </element> <element name="alternateTaxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="totalAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="commodityCode" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="15"/> </restriction> </simpleType> </element> <element name="productCode" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="30"/> </restriction> </simpleType> </element> <element name="productSKU" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="30"/> </restriction> </simpleType> </element> <element name="discountRate" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}decimal"> <totalDigits value="5"/> <fractionDigits value="5"/> </restriction> </simpleType> </element> <element name="discountAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="taxIncludedInTotal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="taxIsAfterDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalalternateTaxAmountprotected StringalternateTaxIdprotected BigDecimalalternateTaxRateprotected StringalternateTaxTypeprotected StringalternateTaxTypeAppliedprotected StringcommodityCodeprotected Stringdescriptionprotected BigDecimaldiscountAmountprotected BigDecimaldiscountRateprotected StringitemIdprotected BigDecimallocalTaxprotected Stringnameprotected BigDecimalnationalTaxprotected StringproductCodeprotected StringproductSKUprotected BigDecimalquantityprotected Booleantaxableprotected BigDecimaltaxAmountprotected BooleantaxIncludedInTotalprotected BooleantaxIsAfterDiscountprotected BigDecimaltaxRateprotected BigDecimaltotalAmountprotected StringtypeOfSupplyprotected StringunitOfMeasureprotected BigDecimalunitPriceprotected BigDecimalvatRate
-
Constructor Summary
Constructors Constructor Description LineItemType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAlternateTaxAmount()Gets the value of the alternateTaxAmount property.StringgetAlternateTaxId()Gets the value of the alternateTaxId property.BigDecimalgetAlternateTaxRate()Gets the value of the alternateTaxRate property.StringgetAlternateTaxType()Gets the value of the alternateTaxType property.StringgetAlternateTaxTypeApplied()Gets the value of the alternateTaxTypeApplied property.StringgetCommodityCode()Gets the value of the commodityCode property.StringgetDescription()Gets the value of the description property.BigDecimalgetDiscountAmount()Gets the value of the discountAmount property.BigDecimalgetDiscountRate()Gets the value of the discountRate property.StringgetItemId()Gets the value of the itemId property.BigDecimalgetLocalTax()Gets the value of the localTax property.StringgetName()Gets the value of the name property.BigDecimalgetNationalTax()Gets the value of the nationalTax property.StringgetProductCode()Gets the value of the productCode property.StringgetProductSKU()Gets the value of the productSKU property.BigDecimalgetQuantity()Gets the value of the quantity property.BigDecimalgetTaxAmount()Gets the value of the taxAmount property.BigDecimalgetTaxRate()Gets the value of the taxRate property.BigDecimalgetTotalAmount()Gets the value of the totalAmount property.StringgetTypeOfSupply()Gets the value of the typeOfSupply property.StringgetUnitOfMeasure()Gets the value of the unitOfMeasure property.BigDecimalgetUnitPrice()Gets the value of the unitPrice property.BigDecimalgetVatRate()Gets the value of the vatRate property.BooleanisTaxable()Gets the value of the taxable property.BooleanisTaxIncludedInTotal()Gets the value of the taxIncludedInTotal property.BooleanisTaxIsAfterDiscount()Gets the value of the taxIsAfterDiscount property.voidsetAlternateTaxAmount(BigDecimal value)Sets the value of the alternateTaxAmount property.voidsetAlternateTaxId(String value)Sets the value of the alternateTaxId property.voidsetAlternateTaxRate(BigDecimal value)Sets the value of the alternateTaxRate property.voidsetAlternateTaxType(String value)Sets the value of the alternateTaxType property.voidsetAlternateTaxTypeApplied(String value)Sets the value of the alternateTaxTypeApplied property.voidsetCommodityCode(String value)Sets the value of the commodityCode property.voidsetDescription(String value)Sets the value of the description property.voidsetDiscountAmount(BigDecimal value)Sets the value of the discountAmount property.voidsetDiscountRate(BigDecimal value)Sets the value of the discountRate property.voidsetItemId(String value)Sets the value of the itemId property.voidsetLocalTax(BigDecimal value)Sets the value of the localTax property.voidsetName(String value)Sets the value of the name property.voidsetNationalTax(BigDecimal value)Sets the value of the nationalTax property.voidsetProductCode(String value)Sets the value of the productCode property.voidsetProductSKU(String value)Sets the value of the productSKU property.voidsetQuantity(BigDecimal value)Sets the value of the quantity property.voidsetTaxable(Boolean value)Sets the value of the taxable property.voidsetTaxAmount(BigDecimal value)Sets the value of the taxAmount property.voidsetTaxIncludedInTotal(Boolean value)Sets the value of the taxIncludedInTotal property.voidsetTaxIsAfterDiscount(Boolean value)Sets the value of the taxIsAfterDiscount property.voidsetTaxRate(BigDecimal value)Sets the value of the taxRate property.voidsetTotalAmount(BigDecimal value)Sets the value of the totalAmount property.voidsetTypeOfSupply(String value)Sets the value of the typeOfSupply property.voidsetUnitOfMeasure(String value)Sets the value of the unitOfMeasure property.voidsetUnitPrice(BigDecimal value)Sets the value of the unitPrice property.voidsetVatRate(BigDecimal value)Sets the value of the vatRate property.
-
-
-
Field Detail
-
itemId
protected String itemId
-
name
protected String name
-
description
protected String description
-
quantity
protected BigDecimal quantity
-
unitPrice
protected BigDecimal unitPrice
-
taxable
protected Boolean taxable
-
unitOfMeasure
protected String unitOfMeasure
-
typeOfSupply
protected String typeOfSupply
-
taxRate
protected BigDecimal taxRate
-
taxAmount
protected BigDecimal taxAmount
-
nationalTax
protected BigDecimal nationalTax
-
localTax
protected BigDecimal localTax
-
vatRate
protected BigDecimal vatRate
-
alternateTaxId
protected String alternateTaxId
-
alternateTaxType
protected String alternateTaxType
-
alternateTaxTypeApplied
protected String alternateTaxTypeApplied
-
alternateTaxRate
protected BigDecimal alternateTaxRate
-
alternateTaxAmount
protected BigDecimal alternateTaxAmount
-
totalAmount
protected BigDecimal totalAmount
-
commodityCode
protected String commodityCode
-
productCode
protected String productCode
-
productSKU
protected String productSKU
-
discountRate
protected BigDecimal discountRate
-
discountAmount
protected BigDecimal discountAmount
-
taxIncludedInTotal
protected Boolean taxIncludedInTotal
-
taxIsAfterDiscount
protected Boolean taxIsAfterDiscount
-
-
Method Detail
-
getItemId
public String getItemId()
Gets the value of the itemId property.- Returns:
- possible object is
String
-
setItemId
public void setItemId(String value)
Sets the value of the itemId property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getQuantity
public BigDecimal getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
BigDecimal
-
setQuantity
public void setQuantity(BigDecimal value)
Sets the value of the quantity property.- Parameters:
value- allowed object isBigDecimal
-
getUnitPrice
public BigDecimal getUnitPrice()
Gets the value of the unitPrice property.- Returns:
- possible object is
BigDecimal
-
setUnitPrice
public void setUnitPrice(BigDecimal value)
Sets the value of the unitPrice property.- Parameters:
value- allowed object isBigDecimal
-
isTaxable
public Boolean isTaxable()
Gets the value of the taxable property.- Returns:
- possible object is
Boolean
-
setTaxable
public void setTaxable(Boolean value)
Sets the value of the taxable property.- Parameters:
value- allowed object isBoolean
-
getUnitOfMeasure
public String getUnitOfMeasure()
Gets the value of the unitOfMeasure property.- Returns:
- possible object is
String
-
setUnitOfMeasure
public void setUnitOfMeasure(String value)
Sets the value of the unitOfMeasure property.- Parameters:
value- allowed object isString
-
getTypeOfSupply
public String getTypeOfSupply()
Gets the value of the typeOfSupply property.- Returns:
- possible object is
String
-
setTypeOfSupply
public void setTypeOfSupply(String value)
Sets the value of the typeOfSupply property.- Parameters:
value- allowed object isString
-
getTaxRate
public BigDecimal getTaxRate()
Gets the value of the taxRate property.- Returns:
- possible object is
BigDecimal
-
setTaxRate
public void setTaxRate(BigDecimal value)
Sets the value of the taxRate property.- Parameters:
value- allowed object isBigDecimal
-
getTaxAmount
public BigDecimal getTaxAmount()
Gets the value of the taxAmount property.- Returns:
- possible object is
BigDecimal
-
setTaxAmount
public void setTaxAmount(BigDecimal value)
Sets the value of the taxAmount property.- Parameters:
value- allowed object isBigDecimal
-
getNationalTax
public BigDecimal getNationalTax()
Gets the value of the nationalTax property.- Returns:
- possible object is
BigDecimal
-
setNationalTax
public void setNationalTax(BigDecimal value)
Sets the value of the nationalTax property.- Parameters:
value- allowed object isBigDecimal
-
getLocalTax
public BigDecimal getLocalTax()
Gets the value of the localTax property.- Returns:
- possible object is
BigDecimal
-
setLocalTax
public void setLocalTax(BigDecimal value)
Sets the value of the localTax property.- Parameters:
value- allowed object isBigDecimal
-
getVatRate
public BigDecimal getVatRate()
Gets the value of the vatRate property.- Returns:
- possible object is
BigDecimal
-
setVatRate
public void setVatRate(BigDecimal value)
Sets the value of the vatRate property.- Parameters:
value- allowed object isBigDecimal
-
getAlternateTaxId
public String getAlternateTaxId()
Gets the value of the alternateTaxId property.- Returns:
- possible object is
String
-
setAlternateTaxId
public void setAlternateTaxId(String value)
Sets the value of the alternateTaxId property.- Parameters:
value- allowed object isString
-
getAlternateTaxType
public String getAlternateTaxType()
Gets the value of the alternateTaxType property.- Returns:
- possible object is
String
-
setAlternateTaxType
public void setAlternateTaxType(String value)
Sets the value of the alternateTaxType property.- Parameters:
value- allowed object isString
-
getAlternateTaxTypeApplied
public String getAlternateTaxTypeApplied()
Gets the value of the alternateTaxTypeApplied property.- Returns:
- possible object is
String
-
setAlternateTaxTypeApplied
public void setAlternateTaxTypeApplied(String value)
Sets the value of the alternateTaxTypeApplied property.- Parameters:
value- allowed object isString
-
getAlternateTaxRate
public BigDecimal getAlternateTaxRate()
Gets the value of the alternateTaxRate property.- Returns:
- possible object is
BigDecimal
-
setAlternateTaxRate
public void setAlternateTaxRate(BigDecimal value)
Sets the value of the alternateTaxRate property.- Parameters:
value- allowed object isBigDecimal
-
getAlternateTaxAmount
public BigDecimal getAlternateTaxAmount()
Gets the value of the alternateTaxAmount property.- Returns:
- possible object is
BigDecimal
-
setAlternateTaxAmount
public void setAlternateTaxAmount(BigDecimal value)
Sets the value of the alternateTaxAmount property.- Parameters:
value- allowed object isBigDecimal
-
getTotalAmount
public BigDecimal getTotalAmount()
Gets the value of the totalAmount property.- Returns:
- possible object is
BigDecimal
-
setTotalAmount
public void setTotalAmount(BigDecimal value)
Sets the value of the totalAmount property.- Parameters:
value- allowed object isBigDecimal
-
getCommodityCode
public String getCommodityCode()
Gets the value of the commodityCode property.- Returns:
- possible object is
String
-
setCommodityCode
public void setCommodityCode(String value)
Sets the value of the commodityCode property.- Parameters:
value- allowed object isString
-
getProductCode
public String getProductCode()
Gets the value of the productCode property.- Returns:
- possible object is
String
-
setProductCode
public void setProductCode(String value)
Sets the value of the productCode property.- Parameters:
value- allowed object isString
-
getProductSKU
public String getProductSKU()
Gets the value of the productSKU property.- Returns:
- possible object is
String
-
setProductSKU
public void setProductSKU(String value)
Sets the value of the productSKU property.- Parameters:
value- allowed object isString
-
getDiscountRate
public BigDecimal getDiscountRate()
Gets the value of the discountRate property.- Returns:
- possible object is
BigDecimal
-
setDiscountRate
public void setDiscountRate(BigDecimal value)
Sets the value of the discountRate property.- Parameters:
value- allowed object isBigDecimal
-
getDiscountAmount
public BigDecimal getDiscountAmount()
Gets the value of the discountAmount property.- Returns:
- possible object is
BigDecimal
-
setDiscountAmount
public void setDiscountAmount(BigDecimal value)
Sets the value of the discountAmount property.- Parameters:
value- allowed object isBigDecimal
-
isTaxIncludedInTotal
public Boolean isTaxIncludedInTotal()
Gets the value of the taxIncludedInTotal property.- Returns:
- possible object is
Boolean
-
setTaxIncludedInTotal
public void setTaxIncludedInTotal(Boolean value)
Sets the value of the taxIncludedInTotal property.- Parameters:
value- allowed object isBoolean
-
isTaxIsAfterDiscount
public Boolean isTaxIsAfterDiscount()
Gets the value of the taxIsAfterDiscount property.- Returns:
- possible object is
Boolean
-
-