com.premiumminds.billy.portugal.services.export.saftpt.v1_04_01.schema.GeneralLedgerEntries Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.11.05 at 11:28:40 AM WET
//
package com.premiumminds.billy.portugal.services.export.saftpt.v1_04_01.schema;
import java.math.BigDecimal;
import java.math.BigInteger;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}NumberOfEntries"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TotalDebit"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TotalCredit"/>
* <element name="Journal" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}JournalID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="Transaction" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionID"/>
* <element name="Period" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTAccountingPeriod"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}DocArchivalNumber"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionType"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}GLPostingDate"/>
* <choice>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}CustomerID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SupplierID" minOccurs="0"/>
* </choice>
* <element name="Lines">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="DebitLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="DebitAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CreditLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="CreditAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"numberOfEntries",
"totalDebit",
"totalCredit",
"journal"
})
@XmlRootElement(name = "GeneralLedgerEntries")
public class GeneralLedgerEntries implements ToString2
{
@XmlElement(name = "NumberOfEntries", required = true)
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfEntries;
@XmlElement(name = "TotalDebit", required = true)
protected BigDecimal totalDebit;
@XmlElement(name = "TotalCredit", required = true)
protected BigDecimal totalCredit;
@XmlElement(name = "Journal")
protected List journal;
/**
* Gets the value of the numberOfEntries property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfEntries() {
return numberOfEntries;
}
/**
* Sets the value of the numberOfEntries property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfEntries(BigInteger value) {
this.numberOfEntries = value;
}
/**
* Gets the value of the totalDebit property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTotalDebit() {
return totalDebit;
}
/**
* Sets the value of the totalDebit property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTotalDebit(BigDecimal value) {
this.totalDebit = value;
}
/**
* Gets the value of the totalCredit property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTotalCredit() {
return totalCredit;
}
/**
* Sets the value of the totalCredit property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTotalCredit(BigDecimal value) {
this.totalCredit = value;
}
/**
* Gets the value of the journal property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the journal property.
*
*
* For example, to add a new item, do as follows:
*
* getJournal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GeneralLedgerEntries.Journal }
*
*
*/
public List getJournal() {
if (journal == null) {
journal = new ArrayList();
}
return this.journal;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
BigInteger theNumberOfEntries;
theNumberOfEntries = this.getNumberOfEntries();
strategy.appendField(locator, this, "numberOfEntries", buffer, theNumberOfEntries, (this.numberOfEntries!= null));
}
{
BigDecimal theTotalDebit;
theTotalDebit = this.getTotalDebit();
strategy.appendField(locator, this, "totalDebit", buffer, theTotalDebit, (this.totalDebit!= null));
}
{
BigDecimal theTotalCredit;
theTotalCredit = this.getTotalCredit();
strategy.appendField(locator, this, "totalCredit", buffer, theTotalCredit, (this.totalCredit!= null));
}
{
List theJournal;
theJournal = (((this.journal!= null)&&(!this.journal.isEmpty()))?this.getJournal():null);
strategy.appendField(locator, this, "journal", buffer, theJournal, ((this.journal!= null)&&(!this.journal.isEmpty())));
}
return buffer;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}JournalID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="Transaction" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionID"/>
* <element name="Period" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTAccountingPeriod"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}DocArchivalNumber"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionType"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}GLPostingDate"/>
* <choice>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}CustomerID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SupplierID" minOccurs="0"/>
* </choice>
* <element name="Lines">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="DebitLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="DebitAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CreditLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="CreditAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"journalID",
"description",
"transaction"
})
public static class Journal implements ToString2
{
@XmlElement(name = "JournalID", required = true)
protected String journalID;
@XmlElement(name = "Description", required = true)
protected String description;
@XmlElement(name = "Transaction")
protected List transaction;
/**
* Gets the value of the journalID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJournalID() {
return journalID;
}
/**
* Sets the value of the journalID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJournalID(String value) {
this.journalID = 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 transaction property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the transaction property.
*
*
* For example, to add a new item, do as follows:
*
* getTransaction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GeneralLedgerEntries.Journal.Transaction }
*
*
*/
public List getTransaction() {
if (transaction == null) {
transaction = new ArrayList();
}
return this.transaction;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
String theJournalID;
theJournalID = this.getJournalID();
strategy.appendField(locator, this, "journalID", buffer, theJournalID, (this.journalID!= null));
}
{
String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null));
}
{
List theTransaction;
theTransaction = (((this.transaction!= null)&&(!this.transaction.isEmpty()))?this.getTransaction():null);
strategy.appendField(locator, this, "transaction", buffer, theTransaction, ((this.transaction!= null)&&(!this.transaction.isEmpty())));
}
return buffer;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionID"/>
* <element name="Period" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTAccountingPeriod"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}DocArchivalNumber"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}TransactionType"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}GLPostingDate"/>
* <choice>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}CustomerID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SupplierID" minOccurs="0"/>
* </choice>
* <element name="Lines">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="DebitLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="DebitAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CreditLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="CreditAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"transactionID",
"period",
"transactionDate",
"sourceID",
"description",
"docArchivalNumber",
"transactionType",
"glPostingDate",
"customerID",
"supplierID",
"lines"
})
public static class Transaction implements ToString2
{
@XmlElement(name = "TransactionID", required = true)
protected String transactionID;
@XmlElement(name = "Period")
@XmlSchemaType(name = "integer")
protected int period;
@XmlElement(name = "TransactionDate", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar transactionDate;
@XmlElement(name = "SourceID", required = true)
protected String sourceID;
@XmlElement(name = "Description", required = true)
protected String description;
@XmlElement(name = "DocArchivalNumber", required = true)
protected String docArchivalNumber;
@XmlElement(name = "TransactionType", required = true)
protected String transactionType;
@XmlElement(name = "GLPostingDate", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar glPostingDate;
@XmlElement(name = "CustomerID")
protected String customerID;
@XmlElement(name = "SupplierID")
protected String supplierID;
@XmlElement(name = "Lines", required = true)
protected GeneralLedgerEntries.Journal.Transaction.Lines lines;
/**
* Gets the value of the transactionID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionID() {
return transactionID;
}
/**
* Sets the value of the transactionID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionID(String value) {
this.transactionID = value;
}
/**
* Gets the value of the period property.
*
*/
public int getPeriod() {
return period;
}
/**
* Sets the value of the period property.
*
*/
public void setPeriod(int value) {
this.period = value;
}
/**
* Gets the value of the transactionDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTransactionDate() {
return transactionDate;
}
/**
* Sets the value of the transactionDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTransactionDate(XMLGregorianCalendar value) {
this.transactionDate = value;
}
/**
* Gets the value of the sourceID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceID() {
return sourceID;
}
/**
* Sets the value of the sourceID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceID(String value) {
this.sourceID = 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 docArchivalNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocArchivalNumber() {
return docArchivalNumber;
}
/**
* Sets the value of the docArchivalNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocArchivalNumber(String value) {
this.docArchivalNumber = value;
}
/**
* Gets the value of the transactionType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionType() {
return transactionType;
}
/**
* Sets the value of the transactionType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionType(String value) {
this.transactionType = value;
}
/**
* Gets the value of the glPostingDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getGLPostingDate() {
return glPostingDate;
}
/**
* Sets the value of the glPostingDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setGLPostingDate(XMLGregorianCalendar value) {
this.glPostingDate = value;
}
/**
* Gets the value of the customerID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCustomerID() {
return customerID;
}
/**
* Sets the value of the customerID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCustomerID(String value) {
this.customerID = value;
}
/**
* Gets the value of the supplierID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSupplierID() {
return supplierID;
}
/**
* Sets the value of the supplierID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSupplierID(String value) {
this.supplierID = value;
}
/**
* Gets the value of the lines property.
*
* @return
* possible object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines }
*
*/
public GeneralLedgerEntries.Journal.Transaction.Lines getLines() {
return lines;
}
/**
* Sets the value of the lines property.
*
* @param value
* allowed object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines }
*
*/
public void setLines(GeneralLedgerEntries.Journal.Transaction.Lines value) {
this.lines = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
String theTransactionID;
theTransactionID = this.getTransactionID();
strategy.appendField(locator, this, "transactionID", buffer, theTransactionID, (this.transactionID!= null));
}
{
int thePeriod;
thePeriod = this.getPeriod();
strategy.appendField(locator, this, "period", buffer, thePeriod, true);
}
{
XMLGregorianCalendar theTransactionDate;
theTransactionDate = this.getTransactionDate();
strategy.appendField(locator, this, "transactionDate", buffer, theTransactionDate, (this.transactionDate!= null));
}
{
String theSourceID;
theSourceID = this.getSourceID();
strategy.appendField(locator, this, "sourceID", buffer, theSourceID, (this.sourceID!= null));
}
{
String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null));
}
{
String theDocArchivalNumber;
theDocArchivalNumber = this.getDocArchivalNumber();
strategy.appendField(locator, this, "docArchivalNumber", buffer, theDocArchivalNumber, (this.docArchivalNumber!= null));
}
{
String theTransactionType;
theTransactionType = this.getTransactionType();
strategy.appendField(locator, this, "transactionType", buffer, theTransactionType, (this.transactionType!= null));
}
{
XMLGregorianCalendar theGLPostingDate;
theGLPostingDate = this.getGLPostingDate();
strategy.appendField(locator, this, "glPostingDate", buffer, theGLPostingDate, (this.glPostingDate!= null));
}
{
String theCustomerID;
theCustomerID = this.getCustomerID();
strategy.appendField(locator, this, "customerID", buffer, theCustomerID, (this.customerID!= null));
}
{
String theSupplierID;
theSupplierID = this.getSupplierID();
strategy.appendField(locator, this, "supplierID", buffer, theSupplierID, (this.supplierID!= null));
}
{
GeneralLedgerEntries.Journal.Transaction.Lines theLines;
theLines = this.getLines();
strategy.appendField(locator, this, "lines", buffer, theLines, (this.lines!= null));
}
return buffer;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="DebitLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="DebitAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CreditLine">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="CreditAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class Lines implements ToString2
{
@XmlElement(name = "DebitLine", required = true)
protected GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine debitLine;
@XmlElement(name = "CreditLine", required = true)
protected GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine creditLine;
/**
* Gets the value of the debitLine property.
*
* @return
* possible object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine }
*
*/
public GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine getDebitLine() {
return debitLine;
}
/**
* Sets the value of the debitLine property.
*
* @param value
* allowed object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine }
*
*/
public void setDebitLine(GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine value) {
this.debitLine = value;
}
/**
* Gets the value of the creditLine property.
*
* @return
* possible object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine }
*
*/
public GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine getCreditLine() {
return creditLine;
}
/**
* Sets the value of the creditLine property.
*
* @param value
* allowed object is
* {@link GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine }
*
*/
public void setCreditLine(GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine value) {
this.creditLine = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
GeneralLedgerEntries.Journal.Transaction.Lines.DebitLine theDebitLine;
theDebitLine = this.getDebitLine();
strategy.appendField(locator, this, "debitLine", buffer, theDebitLine, (this.debitLine!= null));
}
{
GeneralLedgerEntries.Journal.Transaction.Lines.CreditLine theCreditLine;
theCreditLine = this.getCreditLine();
strategy.appendField(locator, this, "creditLine", buffer, theCreditLine, (this.creditLine!= null));
}
return buffer;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="CreditAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"recordID",
"accountID",
"sourceDocumentID",
"systemEntryDate",
"description",
"creditAmount"
})
public static class CreditLine implements ToString2
{
@XmlElement(name = "RecordID", required = true)
protected String recordID;
@XmlElement(name = "AccountID", required = true)
protected String accountID;
@XmlElement(name = "SourceDocumentID")
protected String sourceDocumentID;
@XmlElement(name = "SystemEntryDate", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar systemEntryDate;
@XmlElement(name = "Description", required = true)
protected String description;
@XmlElement(name = "CreditAmount", required = true)
protected BigDecimal creditAmount;
/**
* Gets the value of the recordID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRecordID() {
return recordID;
}
/**
* Sets the value of the recordID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRecordID(String value) {
this.recordID = 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 sourceDocumentID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceDocumentID() {
return sourceDocumentID;
}
/**
* Sets the value of the sourceDocumentID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceDocumentID(String value) {
this.sourceDocumentID = value;
}
/**
* Gets the value of the systemEntryDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSystemEntryDate() {
return systemEntryDate;
}
/**
* Sets the value of the systemEntryDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSystemEntryDate(XMLGregorianCalendar value) {
this.systemEntryDate = 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 creditAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCreditAmount() {
return creditAmount;
}
/**
* Sets the value of the creditAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCreditAmount(BigDecimal value) {
this.creditAmount = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
String theRecordID;
theRecordID = this.getRecordID();
strategy.appendField(locator, this, "recordID", buffer, theRecordID, (this.recordID!= null));
}
{
String theAccountID;
theAccountID = this.getAccountID();
strategy.appendField(locator, this, "accountID", buffer, theAccountID, (this.accountID!= null));
}
{
String theSourceDocumentID;
theSourceDocumentID = this.getSourceDocumentID();
strategy.appendField(locator, this, "sourceDocumentID", buffer, theSourceDocumentID, (this.sourceDocumentID!= null));
}
{
XMLGregorianCalendar theSystemEntryDate;
theSystemEntryDate = this.getSystemEntryDate();
strategy.appendField(locator, this, "systemEntryDate", buffer, theSystemEntryDate, (this.systemEntryDate!= null));
}
{
String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null));
}
{
BigDecimal theCreditAmount;
theCreditAmount = this.getCreditAmount();
strategy.appendField(locator, this, "creditAmount", buffer, theCreditAmount, (this.creditAmount!= null));
}
return buffer;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}RecordID"/>
* <element name="AccountID" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFPTGLAccountID"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SourceDocumentID" minOccurs="0"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SystemEntryDate"/>
* <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}Description"/>
* <element name="DebitAmount" type="{urn:OECD:StandardAuditFile-Tax:PT_1.04_01}SAFmonetaryType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"recordID",
"accountID",
"sourceDocumentID",
"systemEntryDate",
"description",
"debitAmount"
})
public static class DebitLine implements ToString2
{
@XmlElement(name = "RecordID", required = true)
protected String recordID;
@XmlElement(name = "AccountID", required = true)
protected String accountID;
@XmlElement(name = "SourceDocumentID")
protected String sourceDocumentID;
@XmlElement(name = "SystemEntryDate", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar systemEntryDate;
@XmlElement(name = "Description", required = true)
protected String description;
@XmlElement(name = "DebitAmount", required = true)
protected BigDecimal debitAmount;
/**
* Gets the value of the recordID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRecordID() {
return recordID;
}
/**
* Sets the value of the recordID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRecordID(String value) {
this.recordID = 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 sourceDocumentID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceDocumentID() {
return sourceDocumentID;
}
/**
* Sets the value of the sourceDocumentID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceDocumentID(String value) {
this.sourceDocumentID = value;
}
/**
* Gets the value of the systemEntryDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSystemEntryDate() {
return systemEntryDate;
}
/**
* Sets the value of the systemEntryDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setSystemEntryDate(XMLGregorianCalendar value) {
this.systemEntryDate = 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 debitAmount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDebitAmount() {
return debitAmount;
}
/**
* Sets the value of the debitAmount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setDebitAmount(BigDecimal value) {
this.debitAmount = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
String theRecordID;
theRecordID = this.getRecordID();
strategy.appendField(locator, this, "recordID", buffer, theRecordID, (this.recordID!= null));
}
{
String theAccountID;
theAccountID = this.getAccountID();
strategy.appendField(locator, this, "accountID", buffer, theAccountID, (this.accountID!= null));
}
{
String theSourceDocumentID;
theSourceDocumentID = this.getSourceDocumentID();
strategy.appendField(locator, this, "sourceDocumentID", buffer, theSourceDocumentID, (this.sourceDocumentID!= null));
}
{
XMLGregorianCalendar theSystemEntryDate;
theSystemEntryDate = this.getSystemEntryDate();
strategy.appendField(locator, this, "systemEntryDate", buffer, theSystemEntryDate, (this.systemEntryDate!= null));
}
{
String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription, (this.description!= null));
}
{
BigDecimal theDebitAmount;
theDebitAmount = this.getDebitAmount();
strategy.appendField(locator, this, "debitAmount", buffer, theDebitAmount, (this.debitAmount!= null));
}
return buffer;
}
}
}
}
}
}