Package com.xero.models.accounting
Class AddressForOrganisation
java.lang.Object
com.xero.models.accounting.AddressForOrganisation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumdefine the type of address -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressLine1(String addressLine1) max length = 500addressLine2(String addressLine2) max length = 500addressLine3(String addressLine3) max length = 500addressLine4(String addressLine4) max length = 500addressType(AddressForOrganisation.AddressTypeEnum addressType) define the type of addressattentionTo(String attentionTo) max length = 255max length = 255max length = 50, [A-Z], [a-z] onlybooleanmax length = 500max length = 500max length = 500max length = 500define the type of addressmax length = 255getCity()max length = 255max length = 50, [A-Z], [a-z] onlymax length = 50max length = 255inthashCode()postalCode(String postalCode) max length = 50max 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 = 255voidmax length = 255voidsetCountry(String country) max length = 50, [A-Z], [a-z] onlyvoidsetPostalCode(String postalCode) max length = 50voidmax length = 255toString()
-
Constructor Details
-
AddressForOrganisation
public AddressForOrganisation()
-
-
Method Details
-
addressType
define the type of address- Parameters:
addressType- AddressTypeEnum- Returns:
- AddressForOrganisation
-
getAddressType
define the type of address- Returns:
- addressType
-
setAddressType
define the type of address- Parameters:
addressType- AddressTypeEnum
-
addressLine1
max length = 500- Parameters:
addressLine1- String- Returns:
- AddressForOrganisation
-
getAddressLine1
-
setAddressLine1
-
addressLine2
max length = 500- Parameters:
addressLine2- String- Returns:
- AddressForOrganisation
-
getAddressLine2
-
setAddressLine2
-
addressLine3
max length = 500- Parameters:
addressLine3- String- Returns:
- AddressForOrganisation
-
getAddressLine3
-
setAddressLine3
-
addressLine4
max length = 500- Parameters:
addressLine4- String- Returns:
- AddressForOrganisation
-
getAddressLine4
-
setAddressLine4
-
city
max length = 255- Parameters:
city- String- Returns:
- AddressForOrganisation
-
getCity
-
setCity
-
region
max length = 255- Parameters:
region- String- Returns:
- AddressForOrganisation
-
getRegion
-
setRegion
-
postalCode
max length = 50- Parameters:
postalCode- String- Returns:
- AddressForOrganisation
-
getPostalCode
-
setPostalCode
-
country
max length = 50, [A-Z], [a-z] only- Parameters:
country- String- Returns:
- AddressForOrganisation
-
getCountry
-
setCountry
max length = 50, [A-Z], [a-z] only- Parameters:
country- String
-
attentionTo
max length = 255- Parameters:
attentionTo- String- Returns:
- AddressForOrganisation
-
getAttentionTo
-
setAttentionTo
-
equals
-
hashCode
-
toString
-