Package com.xero.models.accounting
Class AddressForOrganisation
- java.lang.Object
-
- com.xero.models.accounting.AddressForOrganisation
-
public class AddressForOrganisation extends Object
AddressForOrganisation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressForOrganisation.AddressTypeEnumdefine the type of address
-
Constructor Summary
Constructors Constructor Description AddressForOrganisation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressForOrganisationaddressLine1(String addressLine1)max length = 500AddressForOrganisationaddressLine2(String addressLine2)max length = 500AddressForOrganisationaddressLine3(String addressLine3)max length = 500AddressForOrganisationaddressLine4(String addressLine4)max length = 500AddressForOrganisationaddressType(AddressForOrganisation.AddressTypeEnum addressType)define the type of addressAddressForOrganisationattentionTo(String attentionTo)max length = 255AddressForOrganisationcity(String city)max length = 255AddressForOrganisationcountry(String country)max length = 50, [A-Z], [a-z] onlybooleanequals(Object o)StringgetAddressLine1()max length = 500StringgetAddressLine2()max length = 500StringgetAddressLine3()max length = 500StringgetAddressLine4()max length = 500AddressForOrganisation.AddressTypeEnumgetAddressType()define the type of addressStringgetAttentionTo()max length = 255StringgetCity()max length = 255StringgetCountry()max length = 50, [A-Z], [a-z] onlyStringgetPostalCode()max length = 50StringgetRegion()max length = 255inthashCode()AddressForOrganisationpostalCode(String postalCode)max length = 50AddressForOrganisationregion(String region)max length = 255voidsetAddressLine1(String addressLine1)max length = 500voidsetAddressLine2(String addressLine2)max length = 500voidsetAddressLine3(String addressLine3)max length = 500voidsetAddressLine4(String addressLine4)max length = 500voidsetAddressType(AddressForOrganisation.AddressTypeEnum addressType)define the type of addressvoidsetAttentionTo(String attentionTo)max length = 255voidsetCity(String city)max length = 255voidsetCountry(String country)max length = 50, [A-Z], [a-z] onlyvoidsetPostalCode(String postalCode)max length = 50voidsetRegion(String region)max length = 255StringtoString()
-
-
-
Method Detail
-
addressType
public AddressForOrganisation addressType(AddressForOrganisation.AddressTypeEnum addressType)
define the type of address- Parameters:
addressType- AddressTypeEnum- Returns:
- AddressForOrganisation
-
getAddressType
public AddressForOrganisation.AddressTypeEnum getAddressType()
define the type of address- Returns:
- addressType
-
setAddressType
public void setAddressType(AddressForOrganisation.AddressTypeEnum addressType)
define the type of address- Parameters:
addressType- AddressTypeEnum
-
addressLine1
public AddressForOrganisation addressLine1(String addressLine1)
max length = 500- Parameters:
addressLine1- String- Returns:
- AddressForOrganisation
-
getAddressLine1
public String getAddressLine1()
max length = 500- Returns:
- addressLine1
-
setAddressLine1
public void setAddressLine1(String addressLine1)
max length = 500- Parameters:
addressLine1- String
-
addressLine2
public AddressForOrganisation addressLine2(String addressLine2)
max length = 500- Parameters:
addressLine2- String- Returns:
- AddressForOrganisation
-
getAddressLine2
public String getAddressLine2()
max length = 500- Returns:
- addressLine2
-
setAddressLine2
public void setAddressLine2(String addressLine2)
max length = 500- Parameters:
addressLine2- String
-
addressLine3
public AddressForOrganisation addressLine3(String addressLine3)
max length = 500- Parameters:
addressLine3- String- Returns:
- AddressForOrganisation
-
getAddressLine3
public String getAddressLine3()
max length = 500- Returns:
- addressLine3
-
setAddressLine3
public void setAddressLine3(String addressLine3)
max length = 500- Parameters:
addressLine3- String
-
addressLine4
public AddressForOrganisation addressLine4(String addressLine4)
max length = 500- Parameters:
addressLine4- String- Returns:
- AddressForOrganisation
-
getAddressLine4
public String getAddressLine4()
max length = 500- Returns:
- addressLine4
-
setAddressLine4
public void setAddressLine4(String addressLine4)
max length = 500- Parameters:
addressLine4- String
-
city
public AddressForOrganisation city(String city)
max length = 255- Parameters:
city- String- Returns:
- AddressForOrganisation
-
getCity
public String getCity()
max length = 255- Returns:
- city
-
setCity
public void setCity(String city)
max length = 255- Parameters:
city- String
-
region
public AddressForOrganisation region(String region)
max length = 255- Parameters:
region- String- Returns:
- AddressForOrganisation
-
getRegion
public String getRegion()
max length = 255- Returns:
- region
-
setRegion
public void setRegion(String region)
max length = 255- Parameters:
region- String
-
postalCode
public AddressForOrganisation postalCode(String postalCode)
max length = 50- Parameters:
postalCode- String- Returns:
- AddressForOrganisation
-
getPostalCode
public String getPostalCode()
max length = 50- Returns:
- postalCode
-
setPostalCode
public void setPostalCode(String postalCode)
max length = 50- Parameters:
postalCode- String
-
country
public AddressForOrganisation country(String country)
max length = 50, [A-Z], [a-z] only- Parameters:
country- String- Returns:
- AddressForOrganisation
-
getCountry
public String getCountry()
max length = 50, [A-Z], [a-z] only- Returns:
- country
-
setCountry
public void setCountry(String country)
max length = 50, [A-Z], [a-z] only- Parameters:
country- String
-
attentionTo
public AddressForOrganisation attentionTo(String attentionTo)
max length = 255- Parameters:
attentionTo- String- Returns:
- AddressForOrganisation
-
getAttentionTo
public String getAttentionTo()
max length = 255- Returns:
- attentionTo
-
setAttentionTo
public void setAttentionTo(String attentionTo)
max length = 255- Parameters:
attentionTo- String
-
-