
com.connectifier.xeroclient.models.ManualJournalLine Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.08 at 08:40:56 PM PDT
//
package com.connectifier.xeroclient.models;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for ManualJournalLine complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ManualJournalLine">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ValidationErrors" type="{}ArrayOfValidationError" minOccurs="0"/>
* <element name="Warnings" type="{}ArrayOfWarning" minOccurs="0"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="UnitAmount" type="{}itemPrice" minOccurs="0"/>
* <element name="TaxType" type="{}taxType" minOccurs="0"/>
* <element name="TaxAmount" type="{}itemPrice" minOccurs="0"/>
* <element name="LineAmount" type="{}itemPrice" minOccurs="0"/>
* <element name="AccountCode" type="{}accountCode" minOccurs="0"/>
* <element name="Tracking" type="{}TrackingCategory" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ManualJournalLine", propOrder = {
})
public class ManualJournalLine {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "UnitAmount")
protected BigDecimal unitAmount;
@XmlElement(name = "TaxType")
protected String taxType;
@XmlElement(name = "TaxAmount")
protected BigDecimal taxAmount;
@XmlElement(name = "LineAmount")
protected BigDecimal lineAmount;
@XmlElement(name = "AccountCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String accountCode;
@XmlElement(name = "Tracking")
protected TrackingCategory tracking;
@XmlAttribute(name = "status")
protected EntityValidationStatus status;
/**
* Sets the value of the validationErrors property.
*
* @param value
* allowed object is
* {@link ArrayOfValidationError }
*
*/
public void setValidationErrors(ArrayOfValidationError value) {
this.validationErrors = value;
}
/**
* Sets the value of the warnings property.
*
* @param value
* allowed object is
* {@link ArrayOfWarning }
*
*/
public void setWarnings(ArrayOfWarning value) {
this.warnings = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the unitAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getUnitAmount() {
return unitAmount;
}
/**
* Sets the value of the unitAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setUnitAmount(BigDecimal value) {
this.unitAmount = value;
}
/**
* Gets the value of the taxType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxType() {
return taxType;
}
/**
* Sets the value of the taxType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaxType(String value) {
this.taxType = value;
}
/**
* Gets the value of the taxAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTaxAmount() {
return taxAmount;
}
/**
* Sets the value of the taxAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTaxAmount(BigDecimal value) {
this.taxAmount = value;
}
/**
* Gets the value of the lineAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLineAmount() {
return lineAmount;
}
/**
* Sets the value of the lineAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLineAmount(BigDecimal value) {
this.lineAmount = value;
}
/**
* Gets the value of the accountCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountCode() {
return accountCode;
}
/**
* Sets the value of the accountCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountCode(String value) {
this.accountCode = value;
}
/**
* Gets the value of the tracking property.
*
* @return
* possible object is
* {@link TrackingCategory }
*
*/
public TrackingCategory getTracking() {
return tracking;
}
/**
* Sets the value of the tracking property.
*
* @param value
* allowed object is
* {@link TrackingCategory }
*
*/
public void setTracking(TrackingCategory value) {
this.tracking = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link EntityValidationStatus }
*
*/
public EntityValidationStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link EntityValidationStatus }
*
*/
public void setStatus(EntityValidationStatus value) {
this.status = value;
}
public List getValidationErrors() {
return ((validationErrors == null)?new ArrayList():validationErrors.getValidationError());
}
public List getWarnings() {
return ((warnings == null)?new ArrayList():warnings.getWarning());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy