All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.connectifier.xeroclient.models.Address Maven / Gradle / Ivy


package com.connectifier.xeroclient.models;

import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * 
 * <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Address">
 *   <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="addressType" name="AddressType" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="AddressLine1" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="AddressLine2" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="AddressLine3" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="AddressLine4" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="City" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="Region" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="PostalCode" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="Country" minOccurs="0" maxOccurs="1"/>
 *     <xs:element type="xs:string" name="AttentionTo" minOccurs="0" maxOccurs="1"/>
 *   </xs:all>
 *   <xs:attribute type="entityValidationStatus" use="optional" name="status"/>
 * </xs:complexType>
 * 
*/ public class Address { private ArrayOfValidationError validationErrors; private ArrayOfWarning warnings; private AddressType addressType; private String addressLine1; private String addressLine2; private String addressLine3; private String addressLine4; private String city; private String region; private String postalCode; private String country; private String attentionTo; private EntityValidationStatus status; /** * 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 'AddressType' element value. * * @return value */ public AddressType getAddressType() { return addressType; } /** * Set the 'AddressType' element value. * * @param addressType */ public void setAddressType(AddressType addressType) { this.addressType = addressType; } /** * Get the 'AddressLine1' element value. * * @return value */ public String getAddressLine1() { return addressLine1; } /** * Set the 'AddressLine1' element value. * * @param addressLine1 */ public void setAddressLine1(String addressLine1) { this.addressLine1 = addressLine1; } /** * Get the 'AddressLine2' element value. * * @return value */ public String getAddressLine2() { return addressLine2; } /** * Set the 'AddressLine2' element value. * * @param addressLine2 */ public void setAddressLine2(String addressLine2) { this.addressLine2 = addressLine2; } /** * Get the 'AddressLine3' element value. * * @return value */ public String getAddressLine3() { return addressLine3; } /** * Set the 'AddressLine3' element value. * * @param addressLine3 */ public void setAddressLine3(String addressLine3) { this.addressLine3 = addressLine3; } /** * Get the 'AddressLine4' element value. * * @return value */ public String getAddressLine4() { return addressLine4; } /** * Set the 'AddressLine4' element value. * * @param addressLine4 */ public void setAddressLine4(String addressLine4) { this.addressLine4 = addressLine4; } /** * Get the 'City' element value. * * @return value */ public String getCity() { return city; } /** * Set the 'City' element value. * * @param city */ public void setCity(String city) { this.city = city; } /** * Get the 'Region' element value. * * @return value */ public String getRegion() { return region; } /** * Set the 'Region' element value. * * @param region */ public void setRegion(String region) { this.region = region; } /** * Get the 'PostalCode' element value. * * @return value */ public String getPostalCode() { return postalCode; } /** * Set the 'PostalCode' element value. * * @param postalCode */ public void setPostalCode(String postalCode) { this.postalCode = postalCode; } /** * Get the 'Country' element value. * * @return value */ public String getCountry() { return country; } /** * Set the 'Country' element value. * * @param country */ public void setCountry(String country) { this.country = country; } /** * Get the 'AttentionTo' element value. * * @return value */ public String getAttentionTo() { return attentionTo; } /** * Set the 'AttentionTo' element value. * * @param attentionTo */ public void setAttentionTo(String attentionTo) { this.attentionTo = attentionTo; } /** * Get the 'status' attribute value. * * @return value */ public EntityValidationStatus getStatus() { return status; } /** * Set the 'status' attribute value. * * @param status */ public void setStatus(EntityValidationStatus status) { this.status = status; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy