
com.connectifier.xeroclient.models.ManualJournal Maven / Gradle / Ivy
package com.connectifier.xeroclient.models;
import java.util.Date;
import java.util.List;
/**
* Schema fragment(s) for this class:
*
* <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ManualJournal">
* <xs:all>
* <xs:element type="ArrayOfValidationError" name="ValidationErrors" minOccurs="0" maxOccurs="1"/>
* <xs:element type="ArrayOfWarning" name="Warnings" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:dateTime" name="Date" minOccurs="0" maxOccurs="1"/>
* <xs:element type="manualJournalStatus" name="Status" minOccurs="0" maxOccurs="1"/>
* <xs:element type="lineAmountType" name="LineAmountTypes" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:dateTime" name="UpdatedDateUTC" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:string" name="ManualJournalID" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:string" name="Narration" minOccurs="0" maxOccurs="1"/>
* <xs:element type="ArrayOfManualJournalLine" name="JournalLines" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:string" name="Url" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:string" name="ExternalLinkProviderName" minOccurs="0" maxOccurs="1"/>
* <xs:element type="xs:boolean" name="ShowOnCashBasisReports" minOccurs="0" maxOccurs="1"/>
* </xs:all>
* <xs:attribute type="entityValidationStatus" use="optional" name="status"/>
* </xs:complexType>
*
*/
public class ManualJournal
{
private ArrayOfValidationError validationErrors;
private ArrayOfWarning warnings;
private Date date;
private ManualJournalStatus status;
private LineAmountType lineAmountTypes;
private Date updatedDateUTC;
private String manualJournalID;
private String narration;
private ArrayOfManualJournalLine journalLines;
private String url;
private String externalLinkProviderName;
private Boolean showOnCashBasisReports;
private EntityValidationStatus status1;
/**
* Get the 'ValidationErrors' element value.
*
* @return value
*/
public ArrayOfValidationError getValidationErrors() {
return validationErrors;
}
/**
* Set the 'ValidationErrors' element value.
*
* @param validationErrors
*/
public void setValidationErrors(ArrayOfValidationError validationErrors) {
this.validationErrors = validationErrors;
}
public List getValidationErrorsAsList() {
if (validationErrors == null)
validationErrors = new ArrayOfValidationError();
return validationErrors.getValidationErrorList();
}
/**
* Get the 'Warnings' element value.
*
* @return value
*/
public ArrayOfWarning getWarnings() {
return warnings;
}
/**
* Set the 'Warnings' element value.
*
* @param warnings
*/
public void setWarnings(ArrayOfWarning warnings) {
this.warnings = warnings;
}
public List getWarningsAsList() {
if (warnings == null)
warnings = new ArrayOfWarning();
return warnings.getWarningList();
}
/**
* Get the 'Date' element value.
*
* @return value
*/
public Date getDate() {
return date;
}
/**
* Set the 'Date' element value.
*
* @param date
*/
public void setDate(Date date) {
this.date = date;
}
/**
* Get the 'Status' element value.
*
* @return value
*/
public ManualJournalStatus getStatus() {
return status;
}
/**
* Set the 'Status' element value.
*
* @param status
*/
public void setStatus(ManualJournalStatus status) {
this.status = status;
}
/**
* Get the 'LineAmountTypes' element value.
*
* @return value
*/
public LineAmountType getLineAmountTypes() {
return lineAmountTypes;
}
/**
* Set the 'LineAmountTypes' element value.
*
* @param lineAmountTypes
*/
public void setLineAmountTypes(LineAmountType lineAmountTypes) {
this.lineAmountTypes = lineAmountTypes;
}
/**
* Get the 'UpdatedDateUTC' element value.
*
* @return value
*/
public Date getUpdatedDateUTC() {
return updatedDateUTC;
}
/**
* Set the 'UpdatedDateUTC' element value.
*
* @param updatedDateUTC
*/
public void setUpdatedDateUTC(Date updatedDateUTC) {
this.updatedDateUTC = updatedDateUTC;
}
/**
* Get the 'ManualJournalID' element value.
*
* @return value
*/
public String getManualJournalID() {
return manualJournalID;
}
/**
* Set the 'ManualJournalID' element value.
*
* @param manualJournalID
*/
public void setManualJournalID(String manualJournalID) {
this.manualJournalID = manualJournalID;
}
/**
* Get the 'Narration' element value.
*
* @return value
*/
public String getNarration() {
return narration;
}
/**
* Set the 'Narration' element value.
*
* @param narration
*/
public void setNarration(String narration) {
this.narration = narration;
}
/**
* Get the 'JournalLines' element value.
*
* @return value
*/
public ArrayOfManualJournalLine getJournalLines() {
return journalLines;
}
/**
* Set the 'JournalLines' element value.
*
* @param journalLines
*/
public void setJournalLines(ArrayOfManualJournalLine journalLines) {
this.journalLines = journalLines;
}
public List getJournalLinesAsList() {
if (journalLines == null)
journalLines = new ArrayOfManualJournalLine();
return journalLines.getJournalLineList();
}
/**
* Get the 'Url' element value.
*
* @return value
*/
public String getUrl() {
return url;
}
/**
* Set the 'Url' element value.
*
* @param url
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Get the 'ExternalLinkProviderName' element value.
*
* @return value
*/
public String getExternalLinkProviderName() {
return externalLinkProviderName;
}
/**
* Set the 'ExternalLinkProviderName' element value.
*
* @param externalLinkProviderName
*/
public void setExternalLinkProviderName(String externalLinkProviderName) {
this.externalLinkProviderName = externalLinkProviderName;
}
/**
* Get the 'ShowOnCashBasisReports' element value.
*
* @return value
*/
public Boolean getShowOnCashBasisReports() {
return showOnCashBasisReports;
}
/**
* Set the 'ShowOnCashBasisReports' element value.
*
* @param showOnCashBasisReports
*/
public void setShowOnCashBasisReports(Boolean showOnCashBasisReports) {
this.showOnCashBasisReports = showOnCashBasisReports;
}
/**
* Get the 'status' attribute value.
*
* @return value
*/
public EntityValidationStatus getStatus1() {
return status1;
}
/**
* Set the 'status' attribute value.
*
* @param status1
*/
public void setStatus1(EntityValidationStatus status1) {
this.status1 = status1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy