
com.connectifier.xeroclient.models.JournalLine 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 JournalLine complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JournalLine">
* <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="JournalLineID" type="{}uniqueIdentifier"/>
* <element name="AccountID" type="{}uniqueIdentifier"/>
* <element name="AccountCode" type="{}accountCode" minOccurs="0"/>
* <element name="AccountType" type="{}accountType"/>
* <element name="AccountName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="NetAmount" type="{}itemPrice"/>
* <element name="GrossAmount" type="{}itemPrice"/>
* <element name="TaxAmount" type="{}itemPrice" minOccurs="0"/>
* <element name="TrackingCategories" type="{}ArrayOfTrackingCategory" minOccurs="0"/>
* <element name="TaxType" type="{}taxType" minOccurs="0"/>
* <element name="TaxName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JournalLine", propOrder = {
})
public class JournalLine {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "JournalLineID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String journalLineID;
@XmlElement(name = "AccountID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String accountID;
@XmlElement(name = "AccountCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String accountCode;
@XmlElement(name = "AccountType", required = true)
protected AccountType accountType;
@XmlElement(name = "AccountName", required = true)
protected String accountName;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "NetAmount", required = true)
protected BigDecimal netAmount;
@XmlElement(name = "GrossAmount", required = true)
protected BigDecimal grossAmount;
@XmlElement(name = "TaxAmount")
protected BigDecimal taxAmount;
@XmlElement(name = "TrackingCategories")
protected ArrayOfTrackingCategory trackingCategories;
@XmlElement(name = "TaxType")
protected String taxType;
@XmlElement(name = "TaxName")
protected String taxName;
@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 journalLineID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJournalLineID() {
return journalLineID;
}
/**
* Sets the value of the journalLineID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalLineID(String value) {
this.journalLineID = value;
}
/**
* Gets the value of the accountID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountID() {
return accountID;
}
/**
* Sets the value of the accountID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountID(String value) {
this.accountID = 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 accountType property.
*
* @return
* possible object is
* {@link AccountType }
*
*/
public AccountType getAccountType() {
return accountType;
}
/**
* Sets the value of the accountType property.
*
* @param value
* allowed object is
* {@link AccountType }
*
*/
public void setAccountType(AccountType value) {
this.accountType = value;
}
/**
* Gets the value of the accountName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountName() {
return accountName;
}
/**
* Sets the value of the accountName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountName(String value) {
this.accountName = 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 netAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNetAmount() {
return netAmount;
}
/**
* Sets the value of the netAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setNetAmount(BigDecimal value) {
this.netAmount = value;
}
/**
* Gets the value of the grossAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getGrossAmount() {
return grossAmount;
}
/**
* Sets the value of the grossAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setGrossAmount(BigDecimal value) {
this.grossAmount = 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;
}
/**
* Sets the value of the trackingCategories property.
*
* @param value
* allowed object is
* {@link ArrayOfTrackingCategory }
*
*/
public void setTrackingCategories(ArrayOfTrackingCategory value) {
this.trackingCategories = 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 taxName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxName() {
return taxName;
}
/**
* Sets the value of the taxName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaxName(String value) {
this.taxName = 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());
}
public List getTrackingCategories() {
return ((trackingCategories == null)?new ArrayList():trackingCategories.getTrackingCategory());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy