Package com.xero.models.accounting
Class Address
java.lang.Object
com.xero.models.accounting.Address
-
Nested Class Summary
Nested Classes -
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(Address.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(Address.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
-
Address
public Address()
-
-
Method Details
-
addressType
define the type of address- Parameters:
addressType- AddressTypeEnum- Returns:
- Address
-
getAddressType
-
setAddressType
define the type of address- Parameters:
addressType- AddressTypeEnum
-
addressLine1
-
getAddressLine1
-
setAddressLine1
-
addressLine2
-
getAddressLine2
-
setAddressLine2
-
addressLine3
-
getAddressLine3
-
setAddressLine3
-
addressLine4
-
getAddressLine4
-
setAddressLine4
-
city
-
getCity
-
setCity
-
region
-
getRegion
-
setRegion
-
postalCode
-
getPostalCode
-
setPostalCode
-
country
-
getCountry
-
setCountry
max length = 50, [A-Z], [a-z] only- Parameters:
country- String
-
attentionTo
-
getAttentionTo
-
setAttentionTo
-
equals
-
hashCode
-
toString
-