
com.connectifier.xeroclient.models.Organisation 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.util.ArrayList;
import java.util.Date;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for Organisation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Organisation">
* <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="APIKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Name" type="{}organisationName" minOccurs="0"/>
* <element name="LegalName" type="{}organisationName" minOccurs="0"/>
* <element name="PaysTax" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OrganisationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OrganisationEntityType" type="{}organisationEntityType" minOccurs="0"/>
* <element name="BaseCurrency" type="{}currencyCode" minOccurs="0"/>
* <element name="CountryCode" type="{}isoCountryCode" minOccurs="0"/>
* <element name="IsDemoCompany" type="{}trueOrFalse" minOccurs="0"/>
* <element name="OrganisationStatus" type="{}organisationStatusCode" minOccurs="0"/>
* <element name="RegistrationNumber" type="{}companyRegistrationNumberType" minOccurs="0"/>
* <element name="TaxNumber" type="{}taxNumberType" minOccurs="0"/>
* <element name="FinancialYearEndDay" type="{}dayNumber" minOccurs="0"/>
* <element name="FinancialYearEndMonth" type="{}monthNumber" minOccurs="0"/>
* <element name="PeriodLockDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="EndOfYearLockDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="CreatedDateUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="Timezone" type="{}timezoneCode" minOccurs="0"/>
* <element name="Addresses" type="{}ArrayOfAddress" minOccurs="0"/>
* <element name="Phones" type="{}ArrayOfPhone" minOccurs="0"/>
* </all>
* <attribute name="status" type="{}entityValidationStatus" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Organisation", propOrder = {
})
public class Organisation {
@XmlElement(name = "ValidationErrors")
protected ArrayOfValidationError validationErrors;
@XmlElement(name = "Warnings")
protected ArrayOfWarning warnings;
@XmlElement(name = "APIKey")
protected String apiKey;
@XmlElement(name = "Name")
protected String name;
@XmlElement(name = "LegalName")
protected String legalName;
@XmlElement(name = "PaysTax")
protected Boolean paysTax;
@XmlElement(name = "Version")
protected String version;
@XmlElement(name = "OrganisationType")
protected String organisationType;
@XmlElement(name = "OrganisationEntityType")
protected OrganisationEntityType organisationEntityType;
@XmlElement(name = "BaseCurrency")
protected CurrencyCode baseCurrency;
@XmlElement(name = "CountryCode")
protected IsoCountryCode countryCode;
@XmlElement(name = "IsDemoCompany")
protected TrueOrFalse isDemoCompany;
@XmlElement(name = "OrganisationStatus")
protected OrganisationStatusCode organisationStatus;
@XmlElement(name = "RegistrationNumber")
protected String registrationNumber;
@XmlElement(name = "TaxNumber")
protected String taxNumber;
@XmlElement(name = "FinancialYearEndDay")
protected Integer financialYearEndDay;
@XmlElement(name = "FinancialYearEndMonth")
protected Integer financialYearEndMonth;
@XmlElement(name = "PeriodLockDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date periodLockDate;
@XmlElement(name = "EndOfYearLockDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date endOfYearLockDate;
@XmlElement(name = "CreatedDateUTC", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date createdDateUTC;
@XmlElement(name = "Timezone")
protected TimezoneCode timezone;
@XmlElement(name = "Addresses")
protected ArrayOfAddress addresses;
@XmlElement(name = "Phones")
protected ArrayOfPhone phones;
@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 apiKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAPIKey() {
return apiKey;
}
/**
* Sets the value of the apiKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAPIKey(String value) {
this.apiKey = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the legalName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLegalName() {
return legalName;
}
/**
* Sets the value of the legalName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLegalName(String value) {
this.legalName = value;
}
/**
* Gets the value of the paysTax property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isPaysTax() {
return paysTax;
}
/**
* Sets the value of the paysTax property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setPaysTax(Boolean value) {
this.paysTax = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the organisationType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrganisationType() {
return organisationType;
}
/**
* Sets the value of the organisationType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrganisationType(String value) {
this.organisationType = value;
}
/**
* Gets the value of the organisationEntityType property.
*
* @return
* possible object is
* {@link OrganisationEntityType }
*
*/
public OrganisationEntityType getOrganisationEntityType() {
return organisationEntityType;
}
/**
* Sets the value of the organisationEntityType property.
*
* @param value
* allowed object is
* {@link OrganisationEntityType }
*
*/
public void setOrganisationEntityType(OrganisationEntityType value) {
this.organisationEntityType = value;
}
/**
* Gets the value of the baseCurrency property.
*
* @return
* possible object is
* {@link CurrencyCode }
*
*/
public CurrencyCode getBaseCurrency() {
return baseCurrency;
}
/**
* Sets the value of the baseCurrency property.
*
* @param value
* allowed object is
* {@link CurrencyCode }
*
*/
public void setBaseCurrency(CurrencyCode value) {
this.baseCurrency = value;
}
/**
* Gets the value of the countryCode property.
*
* @return
* possible object is
* {@link IsoCountryCode }
*
*/
public IsoCountryCode getCountryCode() {
return countryCode;
}
/**
* Sets the value of the countryCode property.
*
* @param value
* allowed object is
* {@link IsoCountryCode }
*
*/
public void setCountryCode(IsoCountryCode value) {
this.countryCode = value;
}
/**
* Gets the value of the isDemoCompany property.
*
* @return
* possible object is
* {@link TrueOrFalse }
*
*/
public TrueOrFalse getIsDemoCompany() {
return isDemoCompany;
}
/**
* Sets the value of the isDemoCompany property.
*
* @param value
* allowed object is
* {@link TrueOrFalse }
*
*/
public void setIsDemoCompany(TrueOrFalse value) {
this.isDemoCompany = value;
}
/**
* Gets the value of the organisationStatus property.
*
* @return
* possible object is
* {@link OrganisationStatusCode }
*
*/
public OrganisationStatusCode getOrganisationStatus() {
return organisationStatus;
}
/**
* Sets the value of the organisationStatus property.
*
* @param value
* allowed object is
* {@link OrganisationStatusCode }
*
*/
public void setOrganisationStatus(OrganisationStatusCode value) {
this.organisationStatus = value;
}
/**
* Gets the value of the registrationNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRegistrationNumber() {
return registrationNumber;
}
/**
* Sets the value of the registrationNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRegistrationNumber(String value) {
this.registrationNumber = value;
}
/**
* Gets the value of the taxNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxNumber() {
return taxNumber;
}
/**
* Sets the value of the taxNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaxNumber(String value) {
this.taxNumber = value;
}
/**
* Gets the value of the financialYearEndDay property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getFinancialYearEndDay() {
return financialYearEndDay;
}
/**
* Sets the value of the financialYearEndDay property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setFinancialYearEndDay(Integer value) {
this.financialYearEndDay = value;
}
/**
* Gets the value of the financialYearEndMonth property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getFinancialYearEndMonth() {
return financialYearEndMonth;
}
/**
* Sets the value of the financialYearEndMonth property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setFinancialYearEndMonth(Integer value) {
this.financialYearEndMonth = value;
}
/**
* Gets the value of the periodLockDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getPeriodLockDate() {
return periodLockDate;
}
/**
* Sets the value of the periodLockDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPeriodLockDate(Date value) {
this.periodLockDate = value;
}
/**
* Gets the value of the endOfYearLockDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getEndOfYearLockDate() {
return endOfYearLockDate;
}
/**
* Sets the value of the endOfYearLockDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndOfYearLockDate(Date value) {
this.endOfYearLockDate = value;
}
/**
* Gets the value of the createdDateUTC property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getCreatedDateUTC() {
return createdDateUTC;
}
/**
* Sets the value of the createdDateUTC property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatedDateUTC(Date value) {
this.createdDateUTC = value;
}
/**
* Gets the value of the timezone property.
*
* @return
* possible object is
* {@link TimezoneCode }
*
*/
public TimezoneCode getTimezone() {
return timezone;
}
/**
* Sets the value of the timezone property.
*
* @param value
* allowed object is
* {@link TimezoneCode }
*
*/
public void setTimezone(TimezoneCode value) {
this.timezone = value;
}
/**
* Sets the value of the addresses property.
*
* @param value
* allowed object is
* {@link ArrayOfAddress }
*
*/
public void setAddresses(ArrayOfAddress value) {
this.addresses = value;
}
/**
* Sets the value of the phones property.
*
* @param value
* allowed object is
* {@link ArrayOfPhone }
*
*/
public void setPhones(ArrayOfPhone value) {
this.phones = 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 getAddresses() {
return ((addresses == null)?new ArrayList():addresses.getAddress());
}
public List getPhones() {
return ((phones == null)?new ArrayList():phones.getPhone());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy